77 runs-on : ${{ matrix.os }}
88 strategy :
99 matrix :
10- os : [ubuntu-latest, windows-latest, macos-latest ]
10+ os : [ubuntu-latest, windows-latest, macos-12 ]
1111 python-version : ["3.9", "3.10"]
1212
1313 steps :
@@ -19,10 +19,10 @@ jobs:
1919 python-version : ${{ matrix.python-version }}
2020
2121 - name : Setup Conda
22- uses : s-weigand/setup-conda@v1
22+ uses : s-weigand/setup-conda@v2
2323 with :
2424 python-version : ${{ matrix.python-version }}
25- auto- update-conda : true
25+ update-conda : true
2626 conda-channels : anaconda, conda-forge
2727
2828 - name : Install pythonocc-core (Conda)
3333 run : |
3434 python -m pip install --upgrade pip
3535 python -m pip install numpy scipy matplotlib pytest pytest-cov
36- python -m pip install smithers[vtk]
37- python -m pip install .[test]
36+ python -m pip install " smithers[vtk]"
37+ python -m pip install " .[test]"
3838
3939 - name : Run tests with pytest
4040 env :
4646 python -m pytest --cov-report term --cov-report xml:cobertura.xml --cov=pygem
4747 curl -s https://coverage.codacy.com/get.sh -o CodacyCoverageReporter.sh
4848 chmod +x CodacyCoverageReporter.sh
49- ./CodacyCoverageReporter.sh report -r cobertura.xml -t $CODACY_API_TOKEN
50- fi
49+ ./CodacyCoverageReporter.sh report -r cobertura.xml -t " $CODACY_API_TOKEN"
50+ fi
0 commit comments