Skip to content

Commit 79a01e6

Browse files
committed
clean up ci
1 parent b662ef4 commit 79a01e6

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,14 +140,13 @@ jobs:
140140
- name: Build and Test
141141
run: |
142142
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
144144
python -m pip install --upgrade pip
145145
python -m pip install maturin==0.9.4 pytest==6.1.2
146146
147147
bash scripts/maturin.sh build --interpreter python --release --manylinux 2014
148148
bash scripts/maturin.sh develop --release
149149
150-
python python/test.py # check if import works
151150
python -m pytest python/test.py -s
152151
shell: bash
153152
- name: Upload wheel as artifact

.github/workflows/matrix_includes.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
{
3838
"os": "windows-latest",
3939
"python-version": "3.6",
40-
"runOnEvent": "always"
40+
"runOnEvent": "release"
4141
},
4242
{
4343
"os": "macos-latest",

0 commit comments

Comments
 (0)