File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,24 +17,33 @@ jobs:
1717
1818 runs-on : ubuntu-latest
1919 steps :
20- - uses : actions/checkout@v3
21- - name : Set up Python 3.10
20+ - uses : actions/checkout@v4
21+ - name : Set up Python
2222 uses : actions/setup-python@v5
2323 with :
24- python-version : " 3.10 "
24+ python-version : " 3.13 "
2525 cache : " pip"
2626 - name : Install dependencies
2727 run : |
28- python -m pip install --upgrade pip
29- if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
28+ pip install -r requirements.txt
3029 - name : Test with pytest
31- run : PYTHONPATH="." pytest --cov=tinystream -n 4 tests/
30+ env :
31+ PYTHONPATH : " ."
32+ run : |
33+ pytest --junitxml=./test-results/tests.xml --cov=./tinystream -n 4 ./tests/
34+ - name : Publish test results
35+ uses : EnricoMi/publish-unit-test-result-action@v2
36+ if : always()
37+ with :
38+ files : |
39+ test-results/**/*.xml
3240 - name : Generate coverage report
3341 run : coverage xml
3442 - name : Upload coverage to Codecov
35- uses : codecov/codecov-action@v3
43+ uses : codecov/codecov-action@v5
3644 continue-on-error : true
3745 with :
38- fail_ci_if_error : true
46+ token : ${{ secrets.CODECOV_TOKEN }}
47+ # fail_ci_if_error: true
3948 files : ./coverage.xml
4049 verbose : true
Original file line number Diff line number Diff line change 11![ Tests Status] ( https://github.com/mreiche/python-streams/actions/workflows/tests.yml/badge.svg )
22[ ![ Code Coverage Status] ( https://codecov.io/github/mreiche/python-streams/branch/main/graph/badge.svg )] ( https://app.codecov.io/github/mreiche/python-streams )
3+ [ ![ PyPI version] ( https://badge.fury.io/py/tinystream.svg )] ( https://badge.fury.io/py/tinystream )
34
45# tinystream / python-streams
56
You can’t perform that action at this time.
0 commit comments