Skip to content

Commit 5d59e94

Browse files
committed
changed wheels configuration and requirements to properly run the tests
1 parent 8508ae0 commit 5d59e94

File tree

3 files changed

+13
-45
lines changed

3 files changed

+13
-45
lines changed

.github/workflows/publish.yml

Lines changed: 0 additions & 35 deletions
This file was deleted.

.github/workflows/wheels.yml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ on:
88
pull_request:
99
push:
1010
branches: [ '*' ]
11-
# release:
12-
# types:
13-
# - published
11+
release:
12+
types:
13+
- published
1414

15-
# concurrency:
16-
# group: ${{ github.workflow }}-${{ github.ref }}
17-
# cancel-in-progress: true
15+
concurrency:
16+
group: ${{ github.workflow }}-${{ github.ref }}
17+
cancel-in-progress: true
1818

1919
jobs:
2020
build_sdist:
@@ -40,7 +40,10 @@ jobs:
4040
strategy:
4141
fail-fast: false
4242
matrix:
43-
os: [ubuntu-latest, windows-latest, macos-latest]
43+
os: [ubuntu-latest,
44+
# windows-latest,
45+
# macos-latest
46+
]
4447

4548
steps:
4649
- uses: actions/checkout@v3
@@ -49,7 +52,6 @@ jobs:
4952
env:
5053
CIBW_ARCHS_MACOS: auto universal2
5154
CIBW_PRERELEASE_PYTHONS: true
52-
CIBW_TEST_COMMAND: ""
5355

5456
- name: Verify clean directory
5557
run: git diff --exit-code
@@ -71,7 +73,7 @@ jobs:
7173
- uses: actions/setup-python@v4
7274
name: Set up Python 3.x
7375
with:
74-
python-version: "3.x"
76+
python-version: "3.8"
7577

7678
- uses: actions/download-artifact@v3
7779
name: Download wheels

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ requires = [
77
build-backend = "setuptools.build_meta"
88

99
[tool.cibuildwheel]
10-
test-command = "python {project}/tests/test.py"
10+
# test-requires = [ "pytest"]
11+
# test-command = "pytest"
1112
test-skip = "*universal2:arm64"
1213

1314
[tool.ruff]

0 commit comments

Comments
 (0)