Skip to content

Commit 2588c49

Browse files
committed
Run all unit tests for release, pass secrets to integ tests
1 parent c64689c commit 2588c49

File tree

4 files changed

+5
-14
lines changed

4 files changed

+5
-14
lines changed

.github/workflows/pull-request-checks.yml

Lines changed: 0 additions & 12 deletions
This file was deleted.

.github/workflows/pull-request-integ-tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@ jobs:
1111
permissions:
1212
id-token: write
1313
contents: read
14+
secrets: inherit
1415
uses: ./.github/workflows/integ-tests.yml

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383
name: "Run unit tests"
8484
needs: determine_release
8585
if: needs.determine_release.outputs.pending_version_available == 'true'
86-
uses: ./.github/workflows/cdk-checks.yml
86+
uses: ./.github/workflows/unit-tests.yml
8787

8888
run_integration_tests:
8989
name: "Run integration tests"
@@ -92,6 +92,7 @@ jobs:
9292
permissions:
9393
id-token: write
9494
contents: read
95+
secrets: inherit
9596
uses: ./.github/workflows/integ-tests.yml
9697

9798
release_new_version:

.github/workflows/checks.yml renamed to .github/workflows/unit-tests.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
name: Main branch checks
1+
name: Unit tests
22

33
on:
44
push:
55
branches:
66
- main
7+
pull_request:
78
workflow_call:
89

910
jobs:

0 commit comments

Comments
 (0)