mirror of https://github.com/restic/restic.git
Run cloud tests if secrets are available
This commit is contained in:
parent
e8abc79ce9
commit
aa648bdcac
|
@ -170,9 +170,8 @@ 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 if secrets are available (pushes and pull requests for our own repo)
|
||||||
# otherwise the secrets are not available
|
if: secrets && matrix.test_cloud_backends
|
||||||
if: 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 New Issue