diff --git a/.github/workflows/deployment-tests.yml b/.github/workflows/deployment-tests.yml index 196c5be9..ca4d4c49 100644 --- a/.github/workflows/deployment-tests.yml +++ b/.github/workflows/deployment-tests.yml @@ -56,12 +56,13 @@ jobs: runs-on: ${{ matrix.platform }} steps: - uses: actions/checkout@v3 + - name: Add Python 3.11 to GITHUB_PATH + run: echo "/Library/Frameworks/Python.framework/Versions/3.11/bin" >> $GITHUB_PATH - name: Install dependencies on ${{ matrix.platform }} run: | - export PATH=/Library/Frameworks/Python.framework/Versions/3.11/bin:$PATH - python3 -m pip install --upgrade pip - python3 -m pip install .[contrib] - python3 -m pip install coverage codecov + python3.11 -m pip install --upgrade pip + python3.11 -m pip install .[contrib] + python3.11 -m pip install coverage codecov - name: Test with unittest on ${{ matrix.platform }} run: | coverage run -m unittest -v