Skip to content

Commit

Permalink
tests: update codacy config
Browse files Browse the repository at this point in the history
  • Loading branch information
casperdcl committed Feb 17, 2021
1 parent fe44311 commit 5a5bcb6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,12 @@ jobs:
coveralls --finish || :
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Codacy Finished
run: |
curl -sfL https://coverage.codacy.com/get.sh > codacy
bash codacy final || :
env:
CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}
deploy:
if: github.event_name != 'pull_request' || github.head_ref != 'devel'
needs: [check, test, test-os]
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ isolated_build=True
commands=
- coveralls
codecov -X pycov -e TOXENV
- codacy report -r coverage.xml
- codacy report -l Python -r coverage.xml --partial

[extra]
deps=
Expand Down

0 comments on commit 5a5bcb6

Please sign in to comment.