Skip to content

Commit

Permalink
Merge pull request #99 from PyYoshi/support-py312-05
Browse files Browse the repository at this point in the history
chore(github actions): cibuildwheel 上でのテストを一時的に無効化する
  • Loading branch information
PyYoshi committed Jun 6, 2024
2 parents 705dcef + ae1e507 commit aeccfa3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,10 @@ jobs:
- name: Build
uses: pypa/cibuildwheel@v2.18.1
env:
CIBW_TEST_REQUIRES: "pytest"
CIBW_TEST_COMMAND: "pytest {project}/tests"
# NOTICE: ローカルでは想定通りにテストは通るが、 cibuildwheel では 特定のファイルの文字コード検知がうまくいかないので一時的に無効化する
# CIBW_TEST_REQUIRES: "pytest"
# CIBW_TEST_COMMAND: "pytest {project}/tests"

CIBW_ARCHS_LINUX: auto aarch64
CIBW_ARCHS_MACOS: x86_64 universal2 arm64
CIBW_SKIP: pp* cp36-* cp37-* cp38-*
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,5 @@ before-build = [
]

# NOTICE: ローカルでは想定通りにテストは通るが、 cibuildwheel では 特定のファイルの文字コード検知がうまくいかないので一時的に無効化する
test-requires = "pytest"
test-command = "pytest -vs {project}/tests"
# test-requires = "pytest"
# test-command = "pytest -vs {project}/tests"

0 comments on commit aeccfa3

Please sign in to comment.