Skip to content

Commit

Permalink
Merge pull request #149 from sbidoul/sbi/codecov
Browse files Browse the repository at this point in the history
Use codecov GitHub action
  • Loading branch information
sbidoul authored Mar 10, 2024
2 parents 6da6788 + 98eec05 commit 0d1c4fc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ jobs:
${{ matrix.python }} -m pip install -U pip setuptools wheel virtualenv tox tox-gh-actions
- name: "Run tox targets for ${{ matrix.python-version }}"
run: "${{ matrix.python }} -m tox"
- name: "Codecov"
run: |
${{ matrix.python }} -m pip install codecov
codecov --token ${{ secrets.CODECOV_TOKEN }}
- uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ python =

[testenv]
extras = test
usedevelop = false
usedevelop = true
commands =
pytest -n auto --cov --cov-branch --cov-report=html --cov-report=term {posargs}
pytest -n auto --cov --cov-branch --cov-report=xml --cov-report=html --cov-report=term {posargs}

[testenv:py27]
# run only helper scripts tests on python 2
Expand Down

0 comments on commit 0d1c4fc

Please sign in to comment.