@@ -10,12 +10,12 @@ jobs:
1010 strategy :
1111 matrix :
1212 os : [macos-latest, ubuntu-latest, windows-latest]
13- python-version : ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
13+ python-version : ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13', '3.14', '3.14t' ]
1414
1515 steps :
16- - uses : actions/checkout@v2
16+ - uses : actions/checkout@v4
1717 - name : Set up Python ${{ matrix.python-version }}
18- uses : actions/setup-python@v3
18+ uses : actions/setup-python@v5
1919 with :
2020 python-version : ${{ matrix.python-version }}
2121
@@ -28,17 +28,18 @@ jobs:
2828 run : pip install -r requirements_dev.txt
2929
3030 - name : Run tests and show coverage on the command line
31- run : coverage run --source=cbfa --omit="*tests*" -m pytest --cache-clear && coverage report -m --fail-under=100
31+ run : |
32+ coverage run --source=cbfa --omit="*tests*" -m pytest --cache-clear --assert=plain && coverage report -m --fail-under=100
33+ coverage xml
3234
33- - name : Upload reports to codecov
34- env :
35- CODECOV_TOKEN : ${{secrets.CODECOV_TOKEN}}
35+ - name : Upload coverage to Coveralls
3636 if : runner.os == 'Linux'
37- run : |
38- curl -Os https://uploader.codecov.io/latest/linux/codecov
39- find . -iregex "codecov.*"
40- chmod +x codecov
41- ./codecov -t ${CODECOV_TOKEN}
37+ env :
38+ COVERALLS_REPO_TOKEN : ${{secrets.COVERALLS_REPO_TOKEN}}
39+ uses : coverallsapp/github-action@v2
40+ with :
41+ format : cobertura
42+ file : coverage.xml
4243
4344 - name : Run tests and show the branch coverage on the command line
4445 run : coverage run --branch --source=cbfa --omit="*tests*" -m pytest --cache-clear --assert=plain && coverage report -m --fail-under=100
0 commit comments