Skip to content
Snippets Groups Projects
Commit 430d21a6 authored by Matt Harbison's avatar Matt Harbison
Browse files

pyproject: skip all tests in `cibuildwheel` runs

This was only known to be needed on Windows, but we don't run tests anywhere
through `cibuildwheel`, so disable it.  Environment variables override config
file options[1], so if these one-off scripts want to have `cibuildwheel` make a
venv, install the wheel, and run the test suite, they can override this.

[1] https://cibuildwheel.pypa.io/en/stable/options/#overrides
parent 8d4ec768
No related branches found
No related tags found
2 merge requests!1292Draft: 7.0rc preparation,!1185Move most cibuildwheel config settings to pyproject.toml
......@@ -9,10 +9,6 @@
REM - None of the variable set here live past this script exiting.
setlocal
REM - Disable warning about not being able to test without an arm64 runner.
set CIBW_TEST_SKIP=*-win_arm64
REM - arm64 support starts with py39, but the first arm64 installer wasn't
REM - available until py311, so skip arm64 on the older, EOL versions.
set CIBW_ARCHS=x86 AMD64
......
......@@ -79,6 +79,11 @@
# Prevent building pypy wheels, which is broken.
skip = "pp*"
# Tests are run separately, but some values like "*-win_arm64" avoid a warning
# on amd64 Windows about not being able to test without an arm64 runner. That's
# likely to be an issue elsewhere too, like testing amd64 on an arm64 mac.
test-skip = "*"
[tool.setuptools_scm]
version_file = "mercurial/__version__.py"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment