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