Skip to content

Commit

Permalink
Migrate to codecov.io (#1818)
Browse files Browse the repository at this point in the history
  • Loading branch information
arkid15r authored Jun 10, 2024
1 parent 88badb2 commit f1a150d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 16 deletions.
18 changes: 3 additions & 15 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,10 @@ jobs:
run: |
make test
- name: Upload coverage
uses: coverallsapp/github-action@v2
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4.0.1
with:
flag-name: tests-${{ matrix.python-version }}-${{ matrix.os }}
parallel: true
path-to-lcov: coverage.lcov
token: ${{ secrets.CODECOV_TOKEN }}

build:
name: Build distribution
Expand Down Expand Up @@ -123,16 +121,6 @@ jobs:
name: dist
path: dist

finish-coveralls:
name: Finish coveralls
needs: test
runs-on: ubuntu-latest
steps:
- name: Finished
uses: coverallsapp/github-action@v2
with:
parallel-finished: true

test-build:
name: Test build on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
*.pyc
build/*
coverage.lcov
coverage.xml
dist/
docs/build
docs/source/_autosummary
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ snapshot:

test:
scripts/l10n/generate_mo_files.py
pytest --cov=. --cov-config=pyproject.toml --cov-report term --cov-report lcov --durations 10 --durations-min=0.75 --dist loadscope --no-cov-on-fail --numprocesses auto
pytest --cov=. --cov-config=pyproject.toml --cov-report term --cov-report xml --durations 10 --durations-min=0.75 --dist loadscope --no-cov-on-fail --numprocesses auto

tox:
tox --parallel auto

0 comments on commit f1a150d

Please sign in to comment.