Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(github actions): cibuildwheel 上でのテストを一時的に無効化する #99

Merged
merged 1 commit into from
Jun 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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/[email protected]
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"