@@ -39,14 +39,14 @@ jobs:
39
39
with :
40
40
path : dist
41
41
42
- test :
42
+ unix- test :
43
43
# This workflow only runs on the origin org
44
44
if : github.repository_owner == 'sgkit-dev'
45
45
needs : ['build']
46
46
strategy :
47
47
matrix :
48
48
# don't use macos-latest as it uses M1 which doesn't work
49
- os : [ubuntu-latest, macos-12, windows-latest ]
49
+ os : [ubuntu-latest, macos-12]
50
50
python-version : ["3.9", "3.10", "3.11"]
51
51
runs-on : ${{ matrix.os }}
52
52
steps :
70
70
python sgkit-copy/.github/scripts/test_sgkit_bgen.py
71
71
python sgkit-copy/.github/scripts/test_sgkit_plink.py
72
72
73
+ windows-test :
74
+ # This workflow only runs on the origin org
75
+ if : github.repository_owner == 'sgkit-dev'
76
+ runs-on : windows-latest
77
+ needs : ['build']
78
+ strategy :
79
+ matrix :
80
+ python-version : ["3.9"]
81
+ steps :
82
+ # checkout repo to subdirectory to get access to scripts
83
+ - uses : actions/checkout@v2
84
+ with :
85
+ path : sgkit-copy
86
+ - name : Download artifacts
87
+
88
+ - name : Set up Python ${{ matrix.python-version }}
89
+ uses : actions/setup-python@v2
90
+ with :
91
+ python-version : ${{ matrix.python-version }}
92
+ - name : Install wheel and test
93
+ run : |
94
+ python -VV
95
+ # Install the local wheel
96
+ $env:wheel = $(ls artifact/sgkit-*.whl)
97
+ pip install $env:wheel "$env:wheel[bgen]" "$env:wheel[plink]"
98
+ python sgkit-copy/.github/scripts/test_sgkit.py
99
+ python sgkit-copy/.github/scripts/test_sgkit_bgen.py
100
+ python sgkit-copy/.github/scripts/test_sgkit_plink.py
101
+
73
102
74
103
pypi-upload :
75
104
if : github.repository_owner == 'sgkit-dev'
0 commit comments