2121 - name : Set up Python
2222 uses : actions/setup-python@v2
2323 with :
24- python-version : 3.9
24+ python-version : ' 3.9'
2525 - name : Install dependencies
2626 run : |
2727 python -m pip install --upgrade pip
@@ -35,32 +35,32 @@ jobs:
3535 run : isort -l 88 -o opacus --lines-after-imports 2 -m 3 --trailing-comma --check-only .
3636
3737 # ########## UNIT TESTS ##############
38- unittest_py38_torch_release :
38+ unittest_py310_torch_release :
3939 runs-on : ubuntu-latest
4040 steps :
4141 - name : Checkout
4242 uses : actions/checkout@v2
4343 - name : Set up Python
4444 uses : actions/setup-python@v2
4545 with :
46- python-version : 3.8
46+ python-version : ' 3.10 '
4747 - name : Install dependencies
4848 run : |
4949 python -m pip install --upgrade pip
5050 pip install pytest coverage coveralls
5151 ./scripts/install_via_pip.sh
5252 - name : Run unit tests
5353 run : |
54- mkdir unittest-py38 -release-reports
54+ mkdir unittest-py310 -release-reports
5555 coverage run -m pytest --doctest-modules -p conftest opacus
5656 coverage report -i -m
5757 # Format into xml to be used for coveralls
5858 coverage xml -i
5959 - name : Store test results
6060 uses : actions/upload-artifact@v4
6161 with :
62- name : unittest-py38 -release-reports
63- path : unittest-py38 -release-reports
62+ name : unittest-py310 -release-reports
63+ path : unittest-py310 -release-reports
6464 - name : Send coverage to Coveralls (parallel)
6565 uses : coverallsapp/github-action@v2
6666 with :
@@ -179,7 +179,7 @@ jobs:
179179
180180 # ####### FINISH COVERALLS ##########
181181 finish_coveralls_parallel :
182- needs : [unittest_py38_torch_release , unittest_py39_torch_release, integrationtest_py39_torch_release_cpu]
182+ needs : [unittest_py310_torch_release , unittest_py39_torch_release, integrationtest_py39_torch_release_cpu]
183183 runs-on : ubuntu-latest
184184 steps :
185185 - name : Checkout
0 commit comments