CI: Trying to analyze Psql CI fails

This commit is contained in:
Griatch 2026-02-14 19:39:12 +01:00
parent d6c7c197bc
commit 3a8be92acc
3 changed files with 27 additions and 2 deletions

View file

@ -102,7 +102,13 @@ runs:
if: ${{ inputs.coverage-test != 'true' }}
working-directory: testing_mygame
run: |
evennia test --settings=settings --keepdb --timing evennia
if [ "${{ inputs.testing-db }}" = "postgresql" ]; then
# PostgreSQL runs in CI have historically been sensitive to reusing
# stale test DB state; run with explicit verbosity for easier diagnosis.
evennia test --settings=settings --timing -v 2 evennia
else
evennia test --settings=settings --keepdb --timing evennia
fi
shell: bash
# OBS - it's important to not run the coverage tests with --parallel, it messes up the coverage