Revert CI experiments

This commit is contained in:
Griatch 2024-06-27 22:13:40 +02:00
parent 90cd9e8308
commit 609b646e45
4 changed files with 24 additions and 29 deletions

View file

@ -19,24 +19,23 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.12"]
python-version: ["3.10", "3.11", "3.12"]
TESTING_DB: ["sqlite3", "postgresql", "mysql"]
include:
- python-version: "3.10"
TESTING_DB: "sqlite3"
coverage-test: true
timeout-minutes: 40
timeout-minutes: 35
env:
UNIT_TEST_SETTINGS: "--settings=settings --keepdb --timing --parallel auto"
UNIT_TEST_SETTINGS: "--settings=settings --keepdb --timing"
COVERAGE_TEST_SETTINGS: "--settings=settings --timing"
steps:
- uses: actions/checkout@v3
- name: Set up {{ matrix.TESTING_DB }} database
if: ${{ matrix.TESTING_DB == 'mysql' }}
- name: Set up database (${{ matrix.TESTING_DB }})
uses: ./.github/actions/setup-database
with:
database: ${{ matrix.TESTING_DB }}
@ -75,11 +74,6 @@ jobs:
working-directory: testing_mygame
run: |
evennia test ${{ env.UNIT_TEST_SETTINGS }} evennia
env:
POSTGRES_HOST: localhost
POSTGRES_PORT: 5432
MYSQL_HOST: 127.0.0.1
MYSQL_PORT: 3306
# OBS - it's important to not run the coverage tests with --parallel, it messes up the coverage
# calculation!