99jobs :
1010 test :
1111 name : " Test Python ${{ matrix.python-version }}"
12- runs-on : " ubuntu-22 .04"
12+ runs-on : " ubuntu-24 .04"
1313 strategy :
1414 fail-fast : false
1515 matrix :
@@ -18,12 +18,13 @@ jobs:
1818 " 3.10" ,
1919 " 3.11" ,
2020 " 3.12" ,
21+ " 3.13" ,
2122 ]
2223 steps :
2324 - name : " Check out repository"
2425 uses : " actions/checkout@v4"
2526 - name : " Set up Python ${{ matrix.python-version }}"
26- uses : " actions/setup-python@v4 "
27+ uses : " actions/setup-python@v5 "
2728 with :
2829 python-version : " ${{ matrix.python-version }}"
2930 cache : " pip"
@@ -33,27 +34,29 @@ jobs:
3334 - name : " Install tox"
3435 run : |
3536 python -m pip install --upgrade pip
36- pip install tox tox-gh-actions
37+ pip install tox
3738 - name : " Run tox"
3839 run : |
39- tox -- --cov --cov-config .coveragerc --cov-report xml:coverage.xml
40+ tox -e py - - --cov --cov-config .coveragerc --cov-report xml:coverage.xml
4041 - name : " Upload coverage report"
4142 if : github.repository == 'artefactual/automation-tools'
42- uses : " codecov/codecov-action@v3 "
43+ uses : " codecov/codecov-action@v4 "
4344 with :
4445 files : ./coverage.xml
4546 fail_ci_if_error : false
4647 verbose : true
48+ env :
49+ CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
4750 lint :
4851 name : " Lint"
49- runs-on : " ubuntu-22 .04"
52+ runs-on : " ubuntu-24 .04"
5053 steps :
5154 - name : " Check out repository"
5255 uses : " actions/checkout@v4"
5356 - name : " Set up Python"
54- uses : " actions/setup-python@v4 "
57+ uses : " actions/setup-python@v5 "
5558 with :
56- python-version : " 3.12 "
59+ python-version : " 3.x "
5760 cache : " pip"
5861 cache-dependency-path : |
5962 requirements.txt
0 commit comments