File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -140,14 +140,13 @@ jobs:
140
140
- name : Build and Test
141
141
run : |
142
142
python -m venv venv
143
- . venv/bin/activate || . venv/Scripts/activate
143
+ . venv/bin/activate || . venv/Scripts/activate # 'Scripts' on windows, 'bin' on Linux / macOS
144
144
python -m pip install --upgrade pip
145
145
python -m pip install maturin==0.9.4 pytest==6.1.2
146
146
147
147
bash scripts/maturin.sh build --interpreter python --release --manylinux 2014
148
148
bash scripts/maturin.sh develop --release
149
149
150
- python python/test.py # check if import works
151
150
python -m pytest python/test.py -s
152
151
shell : bash
153
152
- name : Upload wheel as artifact
Original file line number Diff line number Diff line change 37
37
{
38
38
"os" : " windows-latest" ,
39
39
"python-version" : " 3.6" ,
40
- "runOnEvent" : " always "
40
+ "runOnEvent" : " release "
41
41
},
42
42
{
43
43
"os" : " macos-latest" ,
You can’t perform that action at this time.
0 commit comments