File tree Expand file tree Collapse file tree 1 file changed +11
-8
lines changed Expand file tree Collapse file tree 1 file changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -33,16 +33,10 @@ runs:
33
33
- name : Run test suite
34
34
shell : bash
35
35
run : |
36
- set -eo pipefail
36
+ set -e
37
37
source ./ci.env
38
38
source ./bin/activate "$AZIMUTH_CONFIG_ENVIRONMENT" "$AZIMUTH_ENVIRONMENT"
39
- test_directory="$(ansible -m debug -a "var=$VAR_NAME" all | jq -r ".plays[0].tasks[0].hosts.localhost.$VAR_NAME")"
40
- robot --loglevel debug --consolecolors on "$test_directory"
41
- env :
42
- ANSIBLE_LOAD_CALLBACK_PLUGINS : " true"
43
- ANSIBLE_STDOUT_CALLBACK : json
44
- MOZ_HEADLESS : " 1"
45
- VAR_NAME : generate_tests_suite_directory
39
+ ./bin/run-tests
46
40
47
41
- name : Upload test report artifacts
48
42
uses : actions/upload-artifact@v3
54
48
report.html
55
49
if : ${{ always() }}
56
50
51
+ - name : Clean up test platforms
52
+ shell : bash
53
+ run : |
54
+ set -e
55
+ source ./ci.env
56
+ source ./bin/activate "$AZIMUTH_CONFIG_ENVIRONMENT" "$AZIMUTH_ENVIRONMENT"
57
+ ./bin/run-tests --include delete
58
+ if : ${{ cancelled() }}
59
+
57
60
- name : Create debug bundle
58
61
shell : bash
59
62
run : |
You can’t perform that action at this time.
0 commit comments