Skip to content

Commit

Permalink
Test trigger codecov (#130)
Browse files Browse the repository at this point in the history
- try to trigger codecov update from a public repo using the dedicated gh action
- need to check if the badge is changed accordingly
  • Loading branch information
tomdele committed Apr 19, 2021
1 parent b4568ef commit deec9ec
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .github/workflows/run-tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,11 @@ jobs:
- name: Run tox
run: |
tox
- name: Upload to codecov
if: ${{matrix.python-version == '3.6'}}
uses: codecov/codecov-action@v1
with:
fail_ci_if_error: false
files: ./coverage.xml
flags: pytest
name: "bluepysnap-py36"
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ extras =

setenv =
MPLBACKEND = Agg
commands = pytest tests --cov={envsitepackagesdir}/{[base]name} --cov-report term-missing --cov-fail-under=100
commands = pytest tests --cov={envsitepackagesdir}/{[base]name} --cov-report term-missing --cov-fail-under=100 --cov-report=xml


[testenv:lint]
basepython=python3.6
Expand Down

0 comments on commit deec9ec

Please sign in to comment.