Skip to content

Commit 0f85f82

Browse files
committed
ci: only build all wheels manually and upon v* tags
1 parent 533dad8 commit 0f85f82

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/build-and-test.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,11 @@ jobs:
151151
- name: Test Python package
152152
run: |
153153
cd lakers-python
154+
python3 -m venv .venv
155+
source .venv/bin/activate
154156
pip install --upgrade pip
155-
pip install -U pip maturin pytest
157+
pip install -U maturin pytest
158+
pip freeze
156159
maturin develop && pytest
157160
158161

.github/workflows/python-wheels.yml

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ on:
44
push:
55
branches: [main]
66
tags: 'v*'
7-
pull_request:
87
workflow_dispatch:
98

109
jobs:

0 commit comments

Comments
 (0)