From 242fea0e5f0cbafbf774ef55a9c88284c2f7458e Mon Sep 17 00:00:00 2001 From: Sorin Sbarnea Date: Thu, 19 Sep 2024 12:54:26 +0100 Subject: [PATCH] Move PYTEST_REQPASS to tox.ini to allow its update from forks (#4339) --- .github/workflows/tox.yml | 4 ---- tox.ini | 3 +++ 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml index 3f79ed2a52..59f10d3810 100644 --- a/.github/workflows/tox.yml +++ b/.github/workflows/tox.yml @@ -69,10 +69,6 @@ jobs: # combination unless there are good reasons to test it, like having # proof that we failed to catch a bug by not running it. Using # distribution should be preferred instead of custom builds. - env: - # Number of expected test passes, safety measure for accidental skip of - # tests. Update value if you add/remove tests. - PYTEST_REQPASS: 892 steps: - uses: actions/checkout@v4 with: diff --git a/tox.ini b/tox.ini index bbc0dba800..e08b190013 100644 --- a/tox.ini +++ b/tox.ini @@ -72,6 +72,9 @@ setenv = devel,pkg,pre,py310: PIP_CONSTRAINT = /dev/null PIP_DISABLE_PIP_VERSION_CHECK = 1 PRE_COMMIT_COLOR = always + # Number of expected test passes, safety measure for accidental skip of + # tests. Update value if you add/remove tests. (tox-extra) + PYTEST_REQPASS = 892 FORCE_COLOR = 1 pre: PIP_PRE = 1 allowlist_externals =