File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load diff This file was deleted.
Original file line number Diff line number Diff line change 77 branches : [ "master" ]
88
99permissions :
10- contents : read
10+ contents : write
11+ pull-requests : write
1112
1213jobs :
1314 build :
@@ -33,12 +34,13 @@ jobs:
3334 uv run pre-commit run -a
3435 - name : Test with pytest
3536 run : |
36- uv run pytest --cov=controller --cov-report term test/
37+ uv run pytest --cov=controller --cov-report term --junitxml=pytest.xml --cov-report=term-missing:skip-covered test/ | tee pytest-coverage.txt
3738 - name : Test start the application
3839 run : |
3940 uv run python poupool.py --fake-devices --test-start
40- - name : Upload coverage report
41- run : |
42- uv run codecov
43- env :
44- CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
41+ - name : Pytest coverage comment
42+ id : coverage
43+ uses : MishaKav/pytest-coverage-comment@main
44+ with :
45+ pytest-coverage-path : ./pytest-coverage.txt
46+ junitxml-path : ./pytest.xml
Original file line number Diff line number Diff line change 11# Poupool - The swimming pool controller
22
33[ ![ Build Status] ( https://travis-ci.com/lostcontrol/poupool.svg?branch=master )] ( https://travis-ci.com/lostcontrol/poupool )
4- [ ![ codecov] ( https://codecov.io/gh/lostcontrol/poupool/branch/master/graph/badge.svg )] ( https://codecov.io/gh/lostcontrol/poupool )
54
65Poupool is a swimming pool control software.
76
Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ dependencies = [
1919dev = [
2020 " pre-commit==4.6.0" ,
2121 " ruff==0.15.22" ,
22- " codecov==2.1.13" ,
2322 " pytest==9.1.1" ,
2423 " pytest-cov==7.1.0" ,
2524 " pytest-mock==3.15.1" ,
You can’t perform that action at this time.
0 commit comments