Skip to content

Commit f3c4ed2

Browse files
authored
[CI] Run windows tests with conda (#103)
1 parent ced1ebd commit f3c4ed2

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ jobs:
7171
hatch run jupyter execute "$tutorial";
7272
done
7373
74+
7475
test_notebook_windows:
7576
name: Run the Jupyter notebook tutorial (Windows)
7677
runs-on: ${{ matrix.os }}
@@ -98,3 +99,30 @@ jobs:
9899
foreach($tutorial in $files) {
99100
hatch run jupyter execute "$tutorial"
100101
}
102+
103+
test_notebook_windows_miniforge:
104+
name: Run the Jupyter notebook tutorial (Miniforge)
105+
runs-on: ${{ matrix.os }}
106+
strategy:
107+
matrix:
108+
os: [windows-latest]
109+
python-version: ["3.10", "3.11", "3.12"]
110+
steps:
111+
- name: Checkout QEK
112+
uses: actions/checkout@v4
113+
- uses: conda-incubator/setup-miniconda@v3
114+
with:
115+
python-version: ${{ matrix.python-version }}
116+
- name: Install Hatch
117+
run: |
118+
conda install -c conda-forge hatch
119+
- name: Copy samples
120+
run: |
121+
cp examples/ptcfm_processed_dataset.json .
122+
- name: Run notebook
123+
run: |
124+
hatch run pip install jupyter
125+
$files = Get-ChildItem -Path examples -Include *.ipynb
126+
foreach($tutorial in $files) {
127+
hatch run jupyter execute "$tutorial"
128+
}

0 commit comments

Comments
 (0)