From 3928e0ba4c9ad6ad8a08f15f040e91fd7851ebf4 Mon Sep 17 00:00:00 2001 From: Griatch Date: Tue, 22 Nov 2022 09:37:48 +0100 Subject: [PATCH] Update to not call coveralls from PRs, it's slow --- .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 87e9483d11..aefca993e1 100644 --- a/.github/workflows/github_action_test_suite.yml +++ b/.github/workflows/github_action_test_suite.yml @@ -150,7 +150,7 @@ jobs: # it's also not critical if pushing to either service fails (happens for PRs since env is not # available outside of the evennia org) - name: Send data to Coveralls - if: ${{ matrix.TESTING_DB == 'sqlite3' && matrix.python-version == '3.10' }} + if: matrix.TESTING_DB == 'sqlite3' && matrix.python-version == '3.10' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/develop') continue-on-error: true env: COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} @@ -176,7 +176,7 @@ jobs: password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build and push for master - if: matrix.TESTING_DB == 'sqlite3' && matrix.python-version == '3.9' && github.ref == 'refs/heads/master' + if: matrix.TESTING_DB == 'sqlite3' && matrix.python-version == '3.10' && github.ref == 'refs/heads/master' id: docker_build_master uses: docker/build-push-action@v3 with: