Disable differing_test_runners health check (#108886)

This commit is contained in:
Nikita Sobolev 2023-09-04 21:31:58 +03:00 committed by GitHub
parent 40e52c94a2
commit 6ead5bd6ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 2 deletions

View file

@ -431,7 +431,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

View file

@ -10,7 +10,10 @@
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")

View file

@ -0,0 +1,4 @@
# Requirements file for hypothesis that
# we use to run our property-based tests in CI.
hypothesis==6.84.0