From 0f85f82b725b8e7d99b97a0212df61af2fede314 Mon Sep 17 00:00:00 2001 From: Geovane Fedrecheski Date: Wed, 14 Feb 2024 14:35:05 +0100 Subject: [PATCH] ci: only build all wheels manually and upon v* tags --- .github/workflows/build-and-test.yml | 5 ++++- .github/workflows/python-wheels.yml | 1 - 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index a2074ab5..198ae486 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -151,8 +151,11 @@ jobs: - name: Test Python package run: | cd lakers-python + python3 -m venv .venv + source .venv/bin/activate pip install --upgrade pip - pip install -U pip maturin pytest + pip install -U maturin pytest + pip freeze maturin develop && pytest diff --git a/.github/workflows/python-wheels.yml b/.github/workflows/python-wheels.yml index 7debd483..25ef6347 100644 --- a/.github/workflows/python-wheels.yml +++ b/.github/workflows/python-wheels.yml @@ -4,7 +4,6 @@ on: push: branches: [main] tags: 'v*' - pull_request: workflow_dispatch: jobs: