Skip to content

Commit 9f5232f

Browse files
committed
undoing rebase
1 parent 252c332 commit 9f5232f

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

.github/workflows/cibuildwheels.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,5 @@
11
name: Python wheels
2-
on:
3-
# Trigger the workflow on push or pull request,
4-
# but only for the main branch
5-
push:
6-
branches:
7-
- main
8-
pull_request:
9-
branches:
10-
- main
2+
on: [push]
113
jobs:
124
build_wheels:
135
name: Build wheels on ${{ matrix.os }}
@@ -79,7 +71,6 @@ jobs:
7971
CIBW_BUILD: 'cp37-* cp38-* cp39-*'
8072
CIBW_BEFORE_BUILD: pip install -r requirements.txt
8173
CIBW_BEFORE_TEST: |
82-
ls {project}
8374
pip install pytest
8475
pip install -r requirements.txt
8576
CIBW_TEST_COMMAND: pytest {project}
@@ -138,7 +129,7 @@ jobs:
138129
upload_pypi:
139130
needs: [ build_wheels, build_sdist ] # last but not least
140131
runs-on: ubuntu-latest
141-
# if: startsWith(github.event.ref, 'refs/tags')
132+
if: startsWith(github.event.ref, 'refs/tags')
142133
steps:
143134
- uses: actions/download-artifact@v2
144135
with:

0 commit comments

Comments
 (0)