|
55 | 55 | coverage run -m pytest --doctest-modules -p conftest --junitxml=unittest-py38-release-reports/junit.xml opacus
|
56 | 56 | coverage report -i -m
|
57 | 57 | - name: Store test results
|
58 |
| - uses: actions/upload-artifact@v2 |
| 58 | + uses: actions/upload-artifact@v4 |
59 | 59 | with:
|
60 | 60 | name: unittest-py38-release-reports
|
61 | 61 | path: unittest-py38-release-reports
|
|
80 | 80 | coverage run -m pytest --doctest-modules -p conftest --junitxml=unittest-py39-release-reports/junit.xml opacus
|
81 | 81 | coverage report -i -m
|
82 | 82 | - name: Store test results
|
83 |
| - uses: actions/upload-artifact@v2 |
| 83 | + uses: actions/upload-artifact@v4 |
84 | 84 | with:
|
85 | 85 | name: unittest-py39-release-reports
|
86 | 86 | path: unittest-py39-release-reports
|
@@ -123,7 +123,7 @@ jobs:
|
123 | 123 | mkdir unittest-py39-nightly-reports
|
124 | 124 | python -m pytest --doctest-modules -p conftest --junitxml=unittest-py39-nightly-reports/junit.xml opacus
|
125 | 125 | - name: Store test results
|
126 |
| - uses: actions/upload-artifact@v2 |
| 126 | + uses: actions/upload-artifact@v4 |
127 | 127 | with:
|
128 | 128 | name: unittest-py39-nightly-reports
|
129 | 129 | path: unittest-py39-nightly-reports
|
@@ -151,7 +151,7 @@ jobs:
|
151 | 151 | python -c "import torch; accuracy = torch.load('run_results_mnist_0.25_0.7_1.5_64_1.pt'); exit(0) if (accuracy[0]>0.78 and accuracy[0]<0.95) else exit(1)"
|
152 | 152 | coverage report -i -m
|
153 | 153 | - name: Store test results
|
154 |
| - uses: actions/upload-artifact@v2 |
| 154 | + uses: actions/upload-artifact@v4 |
155 | 155 | with:
|
156 | 156 | name: mnist-cpu-reports
|
157 | 157 | path: runs/mnist/test-reports
|
|
0 commit comments