Skip to content

Commit db67c7e

Browse files
committed
merge nightly & OSX
to cache
1 parent e9ba1dc commit db67c7e

File tree

1 file changed

+3
-48
lines changed

1 file changed

+3
-48
lines changed

.github/workflows/conda_env_test.yml

Lines changed: 3 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -78,58 +78,13 @@ jobs:
7878
runs-on: ${{ matrix.os }}
7979
strategy:
8080
matrix:
81-
os: [ubuntu-latest, windows-latest]
82-
anaconda: ["2023.09"]
81+
os: [ubuntu-latest, windows-latest, macOS-latest]
82+
anaconda: ["2023.09", "nightly"]
8383
fail-fast: false
8484
timeout-minutes: 30
8585
steps:
8686
- uses: actions/checkout@v4
8787

88-
- name: build environment
89-
env:
90-
CONDA_PYTHON: ${{ matrix.anaconda }}
91-
run: bash ./.github/workflows/build_env.sh
92-
93-
- name: pytest
94-
env:
95-
TEST_IPYNB_IGNORE_FOLDER: tutorial
96-
run: bash ./.github/workflows/run_test.sh
97-
98-
test_ipynb_nightly:
99-
needs: badges
100-
name: ${{ matrix.anaconda }} on ${{ matrix.os }}
101-
runs-on: ${{ matrix.os }}
102-
strategy:
103-
matrix:
104-
os: [ubuntu-latest, windows-latest]
105-
anaconda: [nightly]
106-
fail-fast: false
107-
timeout-minutes: 20
108-
steps:
109-
- uses: actions/checkout@v4
110-
111-
- name: build environment
112-
env:
113-
CONDA_PYTHON: ${{ matrix.anaconda }}
114-
run: bash ./.github/workflows/build_env.sh
115-
116-
- name: pytest
117-
env:
118-
TEST_IPYNB_IGNORE_FOLDER: tutorial
119-
run: bash ./.github/workflows/run_test.sh
120-
121-
test_ipynb_osx:
122-
needs: badges
123-
name: ${{ matrix.anaconda }} on OSX
124-
runs-on: macOS-latest
125-
strategy:
126-
matrix:
127-
anaconda: ["2023.09", nightly]
128-
fail-fast: false
129-
timeout-minutes: 20
130-
steps:
131-
- uses: actions/checkout@v4
132-
13388
- name: setup conda
13489
uses: conda-incubator/setup-miniconda@v3
13590
with:
@@ -184,7 +139,7 @@ jobs:
184139
run: python -m pytest -n auto -k 'not (links or update_nmisp_py)' ./tests
185140

186141
update_nmisp_py:
187-
needs: [test_ipynb, test_ipynb_nightly, test_ipynb_osx, test_ipynb_colab]
142+
needs: [test_ipynb, test_ipynb_colab]
188143
name: Update nmisp_py
189144
runs-on: ubuntu-latest
190145
timeout-minutes: 5

0 commit comments

Comments
 (0)