@@ -49,15 +49,14 @@ jobs:
4949
5050 test_ipynb :
5151 needs : badges
52- name : ${{ matrix.environment.name }} on ${{ matrix.os }}
53- runs-on : ${{ matrix.os }}
52+ name : ${{ matrix.environment.name }}
53+ runs-on : ubuntu-latest
5454 strategy :
5555 matrix :
5656 environment :
5757 - {name: '2021.11', python-version: "3.9.4"}
5858 - {name: '2022.10', python-version: "3.10"}
5959 - {name: 'nightly', python-version: "3"}
60- os : [ubuntu-latest, macos-latest, windows-latest,]
6160 fail-fast : false
6261 timeout-minutes : 30
6362 steps :
@@ -73,23 +72,13 @@ jobs:
7372 - name : Install dependencies
7473 shell : bash
7574 run : |
76- if [[ "${{ runner.os }}" == "Windows" ]]; then
77- echo "Entering Windows block"
78- test-env-${{ matrix.environment.name }}\Scripts\activate
79- else
80- echo "Entering non-Windows block"
81- source test-env-${{ matrix.environment.name }}/bin/activate
82- fi
75+ source test-env-${{ matrix.environment.name }}/bin/activate
8376 uv pip install -r tests/requirements.${{ matrix.environment.name }}.txt
8477
8578 - name : Run tests
8679 env :
8780 TEST_IPYNB_IGNORE_FOLDER : tutorial
8881 shell : bash
8982 run : |
90- if [[ "${{ runner.os }}" == "Windows" ]]; then
91- test-env-${{ matrix.environment.name }}\Scripts\activate
92- else
93- source test-env-${{ matrix.environment.name }}/bin/activate
94- fi
83+ source test-env-${{ matrix.environment.name }}/bin/activate
9584 uv run pytest --numprocesses=auto -k 'not (links or update_nmisp_py)' tests/
0 commit comments