From 79a01e64e52dc90260f5d6549945761bf0ca328d Mon Sep 17 00:00:00 2001 From: Benjamin Minixhofer Date: Wed, 31 Mar 2021 18:40:12 +0200 Subject: [PATCH] clean up ci --- .github/workflows/ci.yml | 3 +-- .github/workflows/matrix_includes.json | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2d2de51..5591623 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -140,14 +140,13 @@ jobs: - name: Build and Test run: | python -m venv venv - . venv/bin/activate || . venv/Scripts/activate + . venv/bin/activate || . venv/Scripts/activate # 'Scripts' on windows, 'bin' on Linux / macOS python -m pip install --upgrade pip python -m pip install maturin==0.9.4 pytest==6.1.2 bash scripts/maturin.sh build --interpreter python --release --manylinux 2014 bash scripts/maturin.sh develop --release - python python/test.py # check if import works python -m pytest python/test.py -s shell: bash - name: Upload wheel as artifact diff --git a/.github/workflows/matrix_includes.json b/.github/workflows/matrix_includes.json index 09f6841..5ee92b7 100644 --- a/.github/workflows/matrix_includes.json +++ b/.github/workflows/matrix_includes.json @@ -37,7 +37,7 @@ { "os": "windows-latest", "python-version": "3.6", - "runOnEvent": "always" + "runOnEvent": "release" }, { "os": "macos-latest",