Skip to content

Commit

Permalink
changed wheels configuration and requirements to properly run the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jurra committed Sep 19, 2023
1 parent 8508ae0 commit 5d59e94
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 45 deletions.
35 changes: 0 additions & 35 deletions .github/workflows/publish.yml

This file was deleted.

20 changes: 11 additions & 9 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ on:
pull_request:
push:
branches: [ '*' ]
# release:
# types:
# - published
release:
types:
- published

# concurrency:
# group: ${{ github.workflow }}-${{ github.ref }}
# cancel-in-progress: true
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build_sdist:
Expand All @@ -40,7 +40,10 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
os: [ubuntu-latest,
# windows-latest,
# macos-latest
]

steps:
- uses: actions/checkout@v3
Expand All @@ -49,7 +52,6 @@ jobs:
env:
CIBW_ARCHS_MACOS: auto universal2
CIBW_PRERELEASE_PYTHONS: true
CIBW_TEST_COMMAND: ""

- name: Verify clean directory
run: git diff --exit-code
Expand All @@ -71,7 +73,7 @@ jobs:
- uses: actions/setup-python@v4
name: Set up Python 3.x
with:
python-version: "3.x"
python-version: "3.8"

- uses: actions/download-artifact@v3
name: Download wheels
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ requires = [
build-backend = "setuptools.build_meta"

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

[tool.ruff]
Expand Down

0 comments on commit 5d59e94

Please sign in to comment.