mirror of
https://github.com/python/cpython.git
synced 2025-09-23 17:03:23 +00:00
[3.12] Disable differing_test_runners
health check (GH-108886) (#108887)
Disable `differing_test_runners` health check (GH-108886)
(cherry picked from commit 6ead5bd6ae
)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
This commit is contained in:
parent
d5c2d453fd
commit
bce77915b6
3 changed files with 9 additions and 2 deletions
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
@ -474,7 +474,7 @@ jobs:
|
|||
VENV_PYTHON=$VENV_LOC/bin/python
|
||||
echo "HYPOVENV=${VENV_LOC}" >> $GITHUB_ENV
|
||||
echo "VENV_PYTHON=${VENV_PYTHON}" >> $GITHUB_ENV
|
||||
./python -m venv $VENV_LOC && $VENV_PYTHON -m pip install -U hypothesis
|
||||
./python -m venv $VENV_LOC && $VENV_PYTHON -m pip install -r ${GITHUB_WORKSPACE}/Tools/requirements-hypothesis.txt
|
||||
- name: 'Restore Hypothesis database'
|
||||
id: cache-hypothesis-database
|
||||
uses: actions/cache@v3
|
||||
|
|
|
@ -10,7 +10,10 @@ else:
|
|||
hypothesis.settings.register_profile(
|
||||
"slow-is-ok",
|
||||
deadline=None,
|
||||
suppress_health_check=[hypothesis.HealthCheck.too_slow],
|
||||
suppress_health_check=[
|
||||
hypothesis.HealthCheck.too_slow,
|
||||
hypothesis.HealthCheck.differing_executors,
|
||||
],
|
||||
)
|
||||
hypothesis.settings.load_profile("slow-is-ok")
|
||||
|
||||
|
|
4
Tools/requirements-hypothesis.txt
Normal file
4
Tools/requirements-hypothesis.txt
Normal file
|
@ -0,0 +1,4 @@
|
|||
# Requirements file for hypothesis that
|
||||
# we use to run our property-based tests in CI.
|
||||
|
||||
hypothesis==6.84.0
|
Loading…
Add table
Add a link
Reference in a new issue