File tree Expand file tree Collapse file tree 1 file changed +13
-6
lines changed Expand file tree Collapse file tree 1 file changed +13
-6
lines changed Original file line number Diff line number Diff line change @@ -48,17 +48,24 @@ jobs:
48
48
#
49
49
# - name: Pre-Sweeper
50
50
# run: go test ./internal/services/... -v -sweep="1" -timeout 60m
51
- - name : Run acceptance tests
52
- # note: not all resources are covered here, only passing ones should be included here (for now).
53
- run : ./scripts/run-ci-acceptance-tests
54
- env :
55
- TF_ACC : 1
56
- continue-on-error : true
57
51
- name : Run Magic acceptance tests
52
+ id : magic_acc_tests
58
53
# tests need to be run one-by-one to avoid account lock contention
59
54
run : go test -parallel=1 -p=1 -count=1 ./internal/services/{magic_wan_ipsec_tunnel,magic_wan_gre_tunnel,magic_wan_static_route} -run "^TestAcc"
60
55
env :
61
56
TF_ACC : 1
57
+ continue-on-error : true
58
+ - name : Run acceptance tests
59
+ id : acc_tests
60
+ # note: not all resources are covered here, only passing ones should be included here (for now).
61
+ run : ./scripts/run-ci-acceptance-tests
62
+ env :
63
+ TF_ACC : 1
64
+ - name : Check Test Status
65
+ if : ${{ steps.magic_acc_tests.outcome == 'failure' || steps.acc_tests.outcome == 'failure' }}
66
+ run : exit 1
67
+
68
+
62
69
# when all resources support sweepers, re-enable.
63
70
#
64
71
# - name: Post-Sweeper
You can’t perform that action at this time.
0 commit comments