Skip to content

Commit

Permalink
add Coverage action (#2032)
Browse files Browse the repository at this point in the history
* add Coverage action

* fix path

* use new version v2

* try different formatter
  • Loading branch information
s-martin committed May 10, 2023
1 parent af98361 commit bdb4de8
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,13 @@ jobs:
working-directory: ./components/gpio_control
run: |
pip install -r requirements.txt
pytest
pytest --cov --cov-report xml
- name: Report to Coveralls
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
file: ./components/gpio_control/coverage.xml
format: cobertura



0 comments on commit bdb4de8

Please sign in to comment.