From 6463d087ea54beafc5482e3ab7ae7f5787476cbc Mon Sep 17 00:00:00 2001 From: Alessandro Ogier Date: Wed, 3 Aug 2022 19:06:03 +0200 Subject: [PATCH] only cover 3.10/sqlite --- .github/workflows/github_action_test_suite.yml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/github_action_test_suite.yml b/.github/workflows/github_action_test_suite.yml index a8d7919cc5..041a8fa603 100644 --- a/.github/workflows/github_action_test_suite.yml +++ b/.github/workflows/github_action_test_suite.yml @@ -118,9 +118,10 @@ jobs: evennia migrate 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: | - cd testing_mygame coverage run \ --source=../evennia \ --omit=*/migrations/*,*/urls.py,*/test*.py,*.sh,*.txt,*.md,*.pyc,*.service \ @@ -132,6 +133,17 @@ jobs: evennia 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 # it's also not critical if pushing to either service fails (happens for PRs since env is not # available outside of the evennia org)