Skip to content

Commit a352ade

Browse files
committed
debug new workflows
1 parent 7527636 commit a352ade

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed

.github/workflows/build_wheel.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ jobs:
8686
fail-fast: true
8787
matrix:
8888
os: [ubuntu-latest,macos-12]
89-
pyver: [cp37, cp38, cp39, cp310, cp311]
89+
pyver: [cp38, cp39, cp310, cp311]
9090

9191
steps:
9292
- name: Checkout repo
@@ -104,9 +104,7 @@ jobs:
104104
uses: pypa/[email protected]
105105
with:
106106
package-dir: ./swmm-toolkit
107-
env:
108-
CIBW_TEST_COMMAND: "pytest {package}/tests"
109-
CIBW_BEFORE_TEST: pip install -r {package}/test-requirements.txt
107+
env:
110108
# mac needs ninja to build
111109
CIBW_BEFORE_BUILD_MACOS: brew install ninja
112110
# configure cibuildwheel to build native archs ('auto'), and some emulated ones
@@ -116,9 +114,6 @@ jobs:
116114
# don't build pypy or musllinux to save build time. TODO: find a good way to support those archs
117115
CIBW_BUILD: ${{matrix.pyver}}-*
118116
CIBW_SKIP: cp36-* cp37-* cp312-* pp* *-musllinux*
119-
# Will avoid testing on emulated architectures
120-
# Skip trying to test arm64 builds on Intel Macs
121-
CIBW_TEST_SKIP: "*-*linux_{aarch64,ppc64le,s390x} *-macosx_arm64 *-macosx_universal2:arm64"
122117

123118
- uses: actions/upload-artifact@v3
124119
with:

.github/workflows/unit_test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ name: Unit Test
33
on:
44
push:
55
branches-ignore:
6-
- 'main'
6+
- 'master'
77
tags-ignore:
88
- v*
99
pull_request:
1010
branches-ignore:
11-
- 'main'
11+
- 'master'
1212

1313
jobs:
1414
build_and_test:

0 commit comments

Comments
 (0)