only cover 3.10/sqlite
This commit is contained in:
parent
03425df669
commit
6463d087ea
1 changed files with 14 additions and 2 deletions
16
.github/workflows/github_action_test_suite.yml
vendored
16
.github/workflows/github_action_test_suite.yml
vendored
|
|
@ -118,9 +118,10 @@ jobs:
|
||||||
evennia migrate
|
evennia migrate
|
||||||
evennia collectstatic --noinput
|
evennia collectstatic --noinput
|
||||||
|
|
||||||
- name: Run test suite
|
- name: Run test suite with coverage
|
||||||
|
if: matrix.TESTING_DB == 'sqlite3' && matrix.python-version == '3.10'
|
||||||
|
working-directory: testing_mygame
|
||||||
run: |
|
run: |
|
||||||
cd testing_mygame
|
|
||||||
coverage run \
|
coverage run \
|
||||||
--source=../evennia \
|
--source=../evennia \
|
||||||
--omit=*/migrations/*,*/urls.py,*/test*.py,*.sh,*.txt,*.md,*.pyc,*.service \
|
--omit=*/migrations/*,*/urls.py,*/test*.py,*.sh,*.txt,*.md,*.pyc,*.service \
|
||||||
|
|
@ -132,6 +133,17 @@ jobs:
|
||||||
evennia
|
evennia
|
||||||
coverage xml
|
coverage xml
|
||||||
|
|
||||||
|
- name: Run test suite
|
||||||
|
if: matrix.TESTING_DB != 'sqlite3' || matrix.python-version != '3.10'
|
||||||
|
working-directory: testing_mygame
|
||||||
|
run: |
|
||||||
|
evennia test \
|
||||||
|
--settings=settings \
|
||||||
|
--keepdb \
|
||||||
|
--parallel 4 \
|
||||||
|
--timing \
|
||||||
|
evennia
|
||||||
|
|
||||||
# we only want to run coverall/codacy once, so we only do it for one of the matrix combinations
|
# we only want to run coverall/codacy once, so we only do it for one of the matrix combinations
|
||||||
# it's also not critical if pushing to either service fails (happens for PRs since env is not
|
# it's also not critical if pushing to either service fails (happens for PRs since env is not
|
||||||
# available outside of the evennia org)
|
# available outside of the evennia org)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue