Skip to content

Commit 28c45ca

Browse files
Run all cloud tests on releases (#1367)
* Run all cloud tests on releases We can't forget to run them this way * Set default tests
1 parent 768b2fc commit 28c45ca

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

.github/workflows/cloud-acc-tests.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ on:
55
tests:
66
description: 'Tests to run (regex passed to -run)'
77
default: '.*'
8+
workflow_call:
9+
inputs:
10+
tests:
11+
type: string
12+
description: 'Tests to run (regex passed to -run)'
13+
default: '.*'
14+
815

916
# These permissions are needed to assume roles from Github's OIDC.
1017
permissions:

.github/workflows/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,13 @@ on:
1515
tags:
1616
- 'v*'
1717
jobs:
18+
# Cloud tests don't run on every PR. We need to be sure they all pass before we release.
19+
run-cloud-tests:
20+
uses: ./.github/workflows/cloud-acc-tests.yml
1821
goreleaser:
1922
runs-on: ubuntu-latest
23+
needs:
24+
- run-cloud-tests
2025
steps:
2126
- name: Checkout
2227
uses: actions/checkout@v4

0 commit comments

Comments
 (0)