mirror of
https://github.com/restic/restic.git
synced 2024-12-23 00:07:25 +00:00
Run cloud backends also on pushes
This commit is contained in:
parent
f8c50394d6
commit
622f4c7daa
1 changed files with 3 additions and 3 deletions
6
.github/workflows/tests.yml
vendored
6
.github/workflows/tests.yml
vendored
|
@ -170,9 +170,9 @@ jobs:
|
||||||
echo $RESTIC_TEST_GS_APPLICATION_CREDENTIALS_B64 | base64 -d > $GOOGLE_APPLICATION_CREDENTIALS
|
echo $RESTIC_TEST_GS_APPLICATION_CREDENTIALS_B64 | base64 -d > $GOOGLE_APPLICATION_CREDENTIALS
|
||||||
go test -cover -parallel 4 ./internal/backend/...
|
go test -cover -parallel 4 ./internal/backend/...
|
||||||
|
|
||||||
# only run cloud backend tests for pull requests from our own repo,
|
# only run cloud backend tests for pull requests from and pushes to our
|
||||||
# otherwise the secrets are not available
|
# own repo, otherwise the secrets are not available
|
||||||
if: github.event.pull_request.head.repo.full_name == github.repository && matrix.test_cloud_backends
|
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
|
- name: Check changelog files with calens
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Reference in a new issue