From 622f4c7daafd317f0bba1c1a70529457a4d8079b Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Sun, 3 Jan 2021 10:28:57 +0100 Subject: [PATCH] Run cloud backends also on pushes --- .github/workflows/tests.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 1804b1801..2bfd8d215 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -170,9 +170,9 @@ jobs: echo $RESTIC_TEST_GS_APPLICATION_CREDENTIALS_B64 | base64 -d > $GOOGLE_APPLICATION_CREDENTIALS go test -cover -parallel 4 ./internal/backend/... - # only run cloud backend tests for pull requests from our own repo, - # otherwise the secrets are not available - if: github.event.pull_request.head.repo.full_name == github.repository && matrix.test_cloud_backends + # only run cloud backend tests for pull requests from and pushes to our + # own repo, otherwise the secrets are not available + if: (github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository) && matrix.test_cloud_backends - name: Check changelog files with calens run: |