Skip to content

Commit dff0704

Browse files
add skip option for integration tests in release workflow (#1658)
1 parent b039180 commit dff0704

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/release.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,12 @@ jobs:
3131
release-version: ${{ inputs.release-version }}
3232

3333
integration-tests:
34-
if: ${{ !inputs.skip-integration-tests }}
3534
permissions:
3635
contents: read
3736
id-token: write
3837
uses: ./.github/workflows/run-integrationtests.yaml
38+
with:
39+
skip-integration-tests: ${{ inputs.skip-integration-tests }}
3940

4041
release-to-github-and-bump:
4142
uses: gardener/cc-utils/.github/workflows/release.yaml@master

.github/workflows/run-integrationtests.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,14 @@ on:
88
- master
99
workflow_dispatch:
1010
workflow_call:
11-
11+
inputs:
12+
skip-integration-tests:
13+
type: boolean
14+
default: false
15+
description: 'Skip running integration tests.'
1216
jobs:
1317
run-tests:
18+
if: ${{ !inputs.skip-integration-tests }}
1419
uses: gardener/cc-utils/.github/workflows/run-testmachinery-tests.yaml@master
1520
permissions:
1621
id-token: write

0 commit comments

Comments
 (0)