From 348d4fe255628359a4a39b21ceff90e6325f5244 Mon Sep 17 00:00:00 2001 From: Griatch Date: Sun, 16 Jan 2022 17:11:50 +0100 Subject: [PATCH] Limit builds to subset of tests --- .github/workflows/github_action_test_suite.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/github_action_test_suite.yml b/.github/workflows/github_action_test_suite.yml index 82e4a514d0..bfec647849 100644 --- a/.github/workflows/github_action_test_suite.yml +++ b/.github/workflows/github_action_test_suite.yml @@ -122,7 +122,7 @@ jobs: password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build and push for master - if: github.ref == 'refs/heads/master' + if: matrix.TESTING_DB == 'sqlite3' && matrix.python-version == 3.7 && github.ref == 'refs/heads/master' id: docker_build_master uses: docker/build-push-action@v2 with: @@ -130,7 +130,7 @@ jobs: tags: evennia/evennia:latest - name: Build and push for develop - if: github.ref == 'refs/heads/develop' + if: matrix.TESTING_DB == 'sqlite3' && matrix.python-version == 3.7 && github.ref == 'refs/heads/develop'}} id: docker_build_develop uses: docker/build-push-action@v2 with: