@@ -13,14 +13,14 @@ jobs:
1313 runs-on : ubuntu-latest
1414
1515 steps :
16- - uses : actions/checkout@v3
17- - uses : actions/setup-python@v3
16+ - uses : actions/checkout@v4
17+ - uses : actions/setup-python@v5
1818 with :
19- python-version : ' 3.8 '
19+ python-version : ' 3.11 '
2020
2121 - name : Installation (deps and package)
2222 run : |
23- pip install . pre-commit mypy==0.910 -r tests/requirements.txt
23+ pip install . pre-commit mypy==1.11.2 -r tests/requirements.txt
2424
2525 - name : run linters
2626 run : |
@@ -33,15 +33,15 @@ jobs:
3333 runs-on : ${{ matrix.os }}
3434 strategy :
3535 matrix :
36- python-version : ['3.8 ', '3.9 ', '3.10 ', '3.11 ', '3.12 -dev']
36+ python-version : ['3.9 ', '3.10 ', '3.11 ', '3.12 ', '3.13', '3.14 -dev']
3737 os : [ubuntu-latest, macos-latest, windows-latest]
38- continue-on-error : ${{ matrix.python-version == '3.12 -dev' }}
38+ continue-on-error : ${{ matrix.python-version == '3.14 -dev' }}
3939
4040 steps :
41- - uses : actions/checkout@v3
41+ - uses : actions/checkout@v4
4242
4343 - name : Set up Python ${{ matrix.python-version }}
44- uses : actions/setup-python@v3
44+ uses : actions/setup-python@v5
4545 with :
4646 python-version : ${{ matrix.python-version }}
4747
@@ -51,11 +51,13 @@ jobs:
5151
5252 - name : Test with pytest
5353 run : |
54- pytest --cov --cov-fail-under=100
54+ pytest --cov
5555
5656 - name : Report coverage
57- if : matrix.os == 'ubuntu-latest' && matrix.python-version == '3.8'
58- uses : codecov/codecov-action@v2
57+ if : matrix.os == 'ubuntu-latest' && matrix.python-version == '3.11'
58+ uses : codecov/codecov-action@v4
59+ with :
60+ token : ${{ secrets.CODECOV_TOKEN }}
5961
6062 allgood :
6163 runs-on : ubuntu-latest
@@ -71,10 +73,10 @@ jobs:
7173 if : github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
7274 runs-on : ubuntu-latest
7375 steps :
74- - uses : actions/checkout@v3
75- - uses : actions/setup-python@v3
76+ - uses : actions/checkout@v4
77+ - uses : actions/setup-python@v5
7678 with :
77- python-version : ' 3.8 '
79+ python-version : ' 3.x '
7880 - name : Install build and publish tools
7981 run : |
8082 pip install build twine
0 commit comments