Skip to content

Commit f78a338

Browse files
committed
start work on generating windows self-test; start w/conda
1 parent 4bb7fa5 commit f78a338

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

.github/workflows/win_test.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: run self-tests on Windows
2+
3+
on:
4+
# Runs on pushes targeting the default branch
5+
push:
6+
branches-ignore:
7+
- master
8+
# branches: ['develop']
9+
# pull_request:
10+
# branches: ['main']
11+
12+
workflow_dispatch: # Allows running this workflow manually
13+
14+
15+
# Default to bash
16+
defaults:
17+
run:
18+
shell: bash
19+
20+
jobs:
21+
build:
22+
strategy:
23+
fail-fast: false
24+
matrix:
25+
# env: ['py313']
26+
env: ['py310', 'py311', 'py312', 'py313']
27+
runs-on: 'windows-latest'
28+
steps:
29+
- name: Get conda
30+
#uses: conda-incubator/[email protected]
31+
uses: conda-incubator/setup-miniconda@030178870c779d9e5e1b4e563269f3aa69b04081 # v3.0.3 using hash for security
32+
with:
33+
activate-environment: build
34+
miniforge-version: latest
35+
python-version: ${{ matrix.env }}
36+
37+
# configure conda
38+
- name: config python
39+
if [ ${{ matrix.env }} == 'py313' ]; then
40+
npver=2.2
41+
fi
42+
run: conda install numpy={$npver} scipy requests pytest

0 commit comments

Comments
 (0)