mirror of
https://github.com/restic/restic.git
synced 2025-07-30 19:53:38 +00:00
CI: increase timeout to work around slow cloud backend
This commit is contained in:
parent
c99c76ada8
commit
06535e62c1
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
@ -185,7 +185,7 @@ jobs:
|
|||||||
# prepare credentials for Google Cloud Storage tests in a temp file
|
# prepare credentials for Google Cloud Storage tests in a temp file
|
||||||
export GOOGLE_APPLICATION_CREDENTIALS=$(mktemp --tmpdir restic-gcs-auth-XXXXXXX)
|
export GOOGLE_APPLICATION_CREDENTIALS=$(mktemp --tmpdir restic-gcs-auth-XXXXXXX)
|
||||||
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 5 ./internal/backend/...
|
go test -cover -parallel 5 -timeout 15m ./internal/backend/...
|
||||||
|
|
||||||
# only run cloud backend tests for pull requests from and pushes to our
|
# only run cloud backend tests for pull requests from and pushes to our
|
||||||
# own repo, otherwise the secrets are not available
|
# own repo, otherwise the secrets are not available
|
||||||
|
Loading…
x
Reference in New Issue
Block a user