2525 mv coverage.lcov base-coverage.lcov
2626
2727 - name : Upload code coverage for base branch
28- uses : actions/upload-artifact@v3
28+ uses : actions/upload-artifact@v4
2929 with :
3030 name : base-coverage.lcov
3131 path : ./base-coverage.lcov
@@ -57,15 +57,15 @@ jobs:
5757 run : pytest --cov=src --cov-report=lcov
5858
5959 - name : Upload code coverage
60- uses : actions/upload-artifact@v3
60+ uses : actions/upload-artifact@v4
6161 with :
62- name : coverage.lcov
62+ name : coverage-${{ matrix.python }}
6363 path : ./coverage.lcov
6464
6565 - name : Analyse with MyPy
6666 run : mypy src
6767
68- test-with-unpinned-deps :
68+ test-with-unpinned-deps :
6969 runs-on : ubuntu-latest
7070 strategy :
7171 matrix :
@@ -88,25 +88,26 @@ test-with-unpinned-deps:
8888 - name : Format with Ruff
8989 if : success() || failure()
9090 run : ruff format --check .
91+
92+ - name : Analyse with MyPy
93+ if : success() || failure()
94+ run : mypy src
9195
9296 - name : Test with pytest
9397 if : success() || failure()
9498 run : pytest --cov=src --cov-report=lcov
95-
96- - name : Analyse with MyPy
97- run : mypy src
9899
99100 coverage :
100101 runs-on : ubuntu-latest
101102 needs : [base_coverage, test]
102103 steps :
103104 - name : Download code coverage report
104- uses : actions/download-artifact@v3
105+ uses : actions/download-artifact@v4
105106 with :
106- name : coverage.lcov
107+ name : coverage-3.12
107108
108109 - name : Download code coverage report for base branch
109- uses : actions/download-artifact@v3
110+ uses : actions/download-artifact@v4
110111 with :
111112 name : base-coverage.lcov
112113
0 commit comments