diff --git a/.github/workflows/build-test-macos-core-custom_types.yml b/.github/workflows/build-test-macos-core-custom_types.yml index 241d015d98..6c9eae8da0 100644 --- a/.github/workflows/build-test-macos-core-custom_types.yml +++ b/.github/workflows/build-test-macos-core-custom_types.yml @@ -93,7 +93,7 @@ jobs: - name: Test core-custom_types code with pytest run: | . ./activate - ./venv/bin/py.test tests/core/custom_types/test_coin.py tests/core/custom_types/test_proof_of_space.py tests/core/custom_types/test_spend_bundle.py -s -v --durations 0 + ./venv/bin/py.test tests/core/custom_types/test_coin.py tests/core/custom_types/test_proof_of_space.py tests/core/custom_types/test_spend_bundle.py -s -v --durations 0 # # THIS FILE IS GENERATED. SEE https://github.com/Chia-Network/chia-blockchain/tree/main/tests#readme # diff --git a/.github/workflows/build-test-ubuntu-core-custom_types.yml b/.github/workflows/build-test-ubuntu-core-custom_types.yml index 1eb7a446af..b0006cea7b 100644 --- a/.github/workflows/build-test-ubuntu-core-custom_types.yml +++ b/.github/workflows/build-test-ubuntu-core-custom_types.yml @@ -105,7 +105,7 @@ jobs: - name: Test core-custom_types code with pytest run: | . ./activate - ./venv/bin/py.test tests/core/custom_types/test_coin.py tests/core/custom_types/test_proof_of_space.py tests/core/custom_types/test_spend_bundle.py -s -v --durations 0 + ./venv/bin/py.test tests/core/custom_types/test_coin.py tests/core/custom_types/test_proof_of_space.py tests/core/custom_types/test_spend_bundle.py -s -v --durations 0 # diff --git a/tests/build-workflows.py b/tests/build-workflows.py index 96c0c98e3f..b7f2552dd1 100755 --- a/tests/build-workflows.py +++ b/tests/build-workflows.py @@ -89,7 +89,7 @@ def generate_replacements(defaults, conf, dir, test_files): if not conf["install_timelord"]: replacements["INSTALL_TIMELORD"] = "# Omitted installing Timelord" if conf["parallel"]: - replacements["PYTEST_PARALLEL_ARGS"] = "-n auto" + replacements["PYTEST_PARALLEL_ARGS"] = " -n auto" if conf["job_timeout"]: replacements["JOB_TIMEOUT"] = str(conf["job_timeout"]) test_paths = ["tests/" + str(f) for f in test_files] diff --git a/tests/runner-templates/build-test-macos b/tests/runner-templates/build-test-macos index 9867a9b688..a6a64e465f 100644 --- a/tests/runner-templates/build-test-macos +++ b/tests/runner-templates/build-test-macos @@ -83,7 +83,7 @@ INSTALL_TIMELORD - name: Test TEST_NAME code with pytest run: | . ./activate - ./venv/bin/py.test TEST_DIR -s -v --durations 0 PYTEST_PARALLEL_ARGS + ./venv/bin/py.test TEST_DIR -s -v --durations 0PYTEST_PARALLEL_ARGS # # THIS FILE IS GENERATED. SEE https://github.com/Chia-Network/chia-blockchain/tree/main/tests#readme # diff --git a/tests/runner-templates/build-test-ubuntu b/tests/runner-templates/build-test-ubuntu index aeee89a4ba..778a3bbfc6 100644 --- a/tests/runner-templates/build-test-ubuntu +++ b/tests/runner-templates/build-test-ubuntu @@ -95,7 +95,7 @@ INSTALL_TIMELORD - name: Test TEST_NAME code with pytest run: | . ./activate - ./venv/bin/py.test TEST_DIR -s -v --durations 0 PYTEST_PARALLEL_ARGS + ./venv/bin/py.test TEST_DIR -s -v --durations 0PYTEST_PARALLEL_ARGS CHECK_RESOURCE_USAGE #