diff --git a/.github/workflows/github_action_test_suite.yml b/.github/workflows/github_action_test_suite.yml index 8b38446fd6..b1343e8d2b 100644 --- a/.github/workflows/github_action_test_suite.yml +++ b/.github/workflows/github_action_test_suite.yml @@ -62,6 +62,18 @@ jobs: evennia migrate evennia collectstatic --noinput + # For non-coverage tests, run them in parallel. + - name: Run test suite + if: ! ${{ matrix.coverage-test }} + working-directory: testing_mygame + run: | + evennia test \ + --settings=settings \ + --keepdb \ + --parallel 4 \ + --timing \ + evennia + # OBS - it's important to not run the coverage tests with --parallel, it messes up the coverage # calculation! - name: Run test suite with coverage @@ -79,18 +91,6 @@ jobs: coverage --version coverage report | grep TOTAL - # For other runs, run tests in parallel - - name: Run test suite - if: ! ${{ matrix.coverage-test }} - working-directory: testing_mygame - run: | - evennia test \ - --settings=settings \ - --keepdb \ - --parallel 4 \ - --timing \ - evennia - # we only want to run coverall once, so we only do it for the designated matrix combination(s) # it's also not critical if pushing to either service fails (happens for PRs since env is not # available outside of the evennia org)