1313jobs :
1414 test :
1515 name : Run unit tests (Python ${{ matrix.python-version }})
16- runs-on : ubuntu-latest
16+ runs-on : ubuntu-24.04
1717
1818 strategy :
1919 fail-fast : false
@@ -24,10 +24,10 @@ jobs:
2424 - ' 3.12'
2525
2626 steps :
27- - uses : actions/checkout@v3
27+ - uses : actions/checkout@v4
2828
2929 - name : Setup Python ${{ matrix.python-version }}
30- uses : actions/setup-python@v4
30+ uses : actions/setup-python@v5
3131 with :
3232 python-version : ${{ matrix.python-version }}
3333
@@ -39,16 +39,15 @@ jobs:
3939 run : tox run -e clean,py,report,flake8,mypy -- --junit-xml=reports/pytest_${{ matrix.python-version }}.xml
4040
4141 - name : Upload test result artifacts
42- uses : actions/upload-artifact@v3
42+ uses : actions/upload-artifact@v4
4343 if : success() || failure()
4444 with :
45- # This will add every pytest_VERSION.xml to the same artifact file
46- name : pytest-results
45+ name : pytest-results-${{ matrix.python-version }}
4746 path : reports/pytest_${{ matrix.python-version }}.xml
4847
4948 report :
5049 name : Publish unit test reports
51- runs-on : ubuntu-latest
50+ runs-on : ubuntu-24.04
5251
5352 # Job depends on test results
5453 needs : test
@@ -57,16 +56,17 @@ jobs:
5756 if : github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
5857
5958 steps :
60- - uses : actions/checkout@v3
59+ - uses : actions/checkout@v4
6160
6261 - name : Download test result artifacts
63- uses : actions/download-artifact@v3
62+ uses : actions/download-artifact@v4
6463 with :
65- name : pytest-results
6664 path : reports/
65+ pattern : pytest-results-*
66+ merge-multiple : true
6767
6868 - name : Publish unit test reports
69- uses : dorny/test-reporter@v1
69+ uses : dorny/test-reporter@v2.1.1
7070 if : success() || failure()
7171 with :
7272 name : Pytest Report
0 commit comments