Skip to content

Commit e257c4f

Browse files
committed
debug workflow script 1
1 parent 30f58f5 commit e257c4f

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/win_test.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
push:
66
branches-ignore:
77
- master
8+
- main
89
# branches: ['develop']
910
# pull_request:
1011
# branches: ['main']
@@ -22,8 +23,8 @@ jobs:
2223
strategy:
2324
#fail-fast: false
2425
matrix:
25-
env: ['py313']
26-
# env: ['py310', 'py311', 'py312', 'py313']
26+
# python-version: ["3.11", "3.12", "3.13"]
27+
python-version: ["3.13"]
2728
runs-on: 'windows-latest'
2829
steps:
2930
- name: Get conda
@@ -32,12 +33,17 @@ jobs:
3233
with:
3334
activate-environment: build
3435
miniforge-version: latest
35-
python-version: ${{ matrix.env }}
36+
python-version: ${{ matrix.python-version }}
3637

3738
# configure conda
3839
- name: config python
3940
run: |
41+
# tailor the numpy version to match the GSAS-II binaries
4042
if [ "${{ matrix.env }}" == "py313" ]; then
4143
npver=2.2
44+
elif [ "${{ matrix.env }}" == "py312" ]; then
45+
npver=2.2
46+
elif [ "${{ matrix.env }}" == "py311" ]; then
47+
npver=1.26
4248
fi
4349
conda install numpy={$npver} scipy requests pytest

0 commit comments

Comments
 (0)