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