mirror of
https://github.com/evennia/evennia.git
synced 2026-03-31 04:57:16 +02:00
Revert CI experiments
This commit is contained in:
parent
90cd9e8308
commit
609b646e45
4 changed files with 24 additions and 29 deletions
14
.github/workflows/github_action_test_suite.yml
vendored
14
.github/workflows/github_action_test_suite.yml
vendored
|
|
@ -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!
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue