Skip to content

Commit 843b87c

Browse files
committed
Run integ tests automatically
1 parent 284757e commit 843b87c

File tree

3 files changed

+11
-6
lines changed

3 files changed

+11
-6
lines changed

.github/workflows/checks.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ on:
44
push:
55
branches:
66
- main
7-
- "v*.*.*"
8-
tags:
9-
- "v*.*.*"
107

118
jobs:
129
python:
@@ -15,3 +12,5 @@ jobs:
1512
uses: ./.github/workflows/typescript-checks.yml
1613
cdk:
1714
uses: ./.github/workflows/cdk-checks.yml
15+
integ-test:
16+
uses: ./.github/workflows/integ-test.yml

.github/workflows/integ-tests.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: Integ Tests
22

33
on:
44
workflow_dispatch: {}
5+
workflow_call:
56

67
jobs:
78
integ_tests:
@@ -44,7 +45,7 @@ jobs:
4445
source .venv/bin/activate
4546
cd ../..
4647
./e2e_tests/run_integ_test.sh
47-
timeout-minutes: 15
48+
timeout-minutes: 20
4849
working-directory: ${{ github.workspace }}
4950

5051
- name: Clean up
Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
11
name: Pull request checks
22

33
on:
4-
pull_request:
4+
pull_request_target:
5+
types: [opened, synchronize, reopened, labeled]
6+
branches: [main]
57

68
jobs:
79
python:
810
uses: ./.github/workflows/python-checks.yml
911
typescript:
1012
uses: ./.github/workflows/typescript-checks.yml
1113
cdk:
12-
uses: ./.github/workflows/cdk-checks.yml
14+
uses: ./.github/workflows/cdk-checks.yml
15+
integ-test:
16+
if: contains(github.event.pull_request.labels.*.name, 'safe-to-test')
17+
uses: ./.github/workflows/integ-test.yml

0 commit comments

Comments
 (0)