Commit a88b532 1 parent 31ffd15 commit a88b532 Copy full SHA for a88b532
File tree 2 files changed +16
-4
lines changed
2 files changed +16
-4
lines changed Original file line number Diff line number Diff line change 1
1
name : ' Cleanup test env'
2
2
3
3
on :
4
- workflow_dispatch : {} # workflow can be run manually
5
- schedule :
6
- - cron : " 0 3 * * *" # workflow runs every day at 03:00 AM
4
+ workflow_dispatch : # workflow can be run manually
5
+ workflow_call : # workflow runs from Test Suite
7
6
8
7
jobs :
9
8
cleanup-test-env-general :
Original file line number Diff line number Diff line change 7
7
8
8
jobs :
9
9
10
+ clean-before :
11
+ secrets : inherit
12
+ uses : ./.github/workflows/cleanup-test-env.yml
13
+
10
14
mig-tests :
15
+ needs : clean-before
16
+ if : ${{ !cancelled() }}
11
17
strategy :
12
18
max-parallel : 1
13
19
fail-fast : false
23
29
24
30
acc-tests :
25
31
needs : mig-tests
26
- if : ${{ !cancelled() }} # run acc tests even if mig tests fail
32
+ if : ${{ !cancelled() }}
27
33
strategy :
28
34
max-parallel : 1
29
35
fail-fast : false
34
40
uses : ./.github/workflows/acceptance-tests.yml
35
41
with :
36
42
terraform_version : ${{ matrix.terraform_version }}
43
+
44
+ clean-after :
45
+ needs : acc-tests
46
+ if : ${{ !cancelled() }}
47
+ secrets : inherit
48
+ uses : ./.github/workflows/cleanup-test-env.yml
49
+
You can’t perform that action at this time.
0 commit comments