From 8438b9ac0e791a77c2b818917a2ad87b1e3e4c9b 2024-02-24 22:40:22 From: Branko Majic Date: 2024-02-24 22:40:22 Subject: [PATCH] GC-46: Updated the release script for changes in tox invcation. --- diff --git a/release.sh b/release.sh index 1f29a74f80663c8a0219c146e985297f0ced5fac..f70d1485f47112a6835d4608cf8b2f0ab6e4f92b 100755 --- a/release.sh +++ b/release.sh @@ -381,7 +381,7 @@ if [[ $operation == "prepare" ]]; then # Initial test run prior to making changes. info "Running tests on current branch." - if ! tox --recreate ; then + if ! tox run --recreate --skip-missing-interpreters false; then error "Failed tests detected on current branch ($current_branch). Aborting the process." exit "$ERROR_TESTS_FAILED" fi @@ -418,7 +418,7 @@ if [[ $operation == "prepare" ]]; then # Rerun tests to ensure everything still works as expected. info "Running tests with new versioning information in place." - if ! tox --recreate ; then + if ! tox run --recreate --skip-missing-interpreters false; then error "Failed tests detected after updating versioning information. Aborting the process." cleanup_reset=1 cleanup_tag=1