44 workflow_dispatch
55
66jobs :
7- build-utbot-java :
8- if : ${{ !contains(github.event.head_commit.message, 'ci skip') }}
7+ build-and-run-tests :
98 runs-on : ubuntu-20.04
109 steps :
1110 - uses : actions/checkout@v2
1817 with :
1918 gradle-version : 6.8
2019
21- - name : Build UTBot Java
20+ - name : Build and run tests in UTBot Java
2221 run : |
2322 export KOTLIN_HOME="/usr"
2423 gradle clean build --no-daemon
@@ -29,29 +28,17 @@ jobs:
2928 with :
3029 name : utbot_framework_logs
3130 path : utbot-framework/logs/*
32-
33- - name : Create tests report archive if tests have failed
34- if : ${{ failure() }}
35- run : |
36- cd utbot-framework/build/reports/tests/test
37- tar -czpf tests_run_report.tar.gz *
3831
39- - name : Upload tests report artifacts if tests have failed
32+ - name : Upload utbot-framework tests report artifacts if tests have failed
4033 if : ${{ failure() }}
4134 uses : actions/upload-artifact@v2
4235 with :
43- name : tests_run_report.tar.gz
44- path : utbot-framework/build/reports/tests/test/tests_run_report.tar.gz
45-
46- - name : Create IntelliJ IDEA plugin tests report archive if tests have failed
47- if : ${{ failure() }}
48- run : |
49- cd utbot-intellij/build/reports/tests/test
50- tar -czpf intellij_plugin_tests_run_report.tar.gz *
36+ name : utbot_framework_tests_report
37+ path : utbot-framework/build/reports/tests/test/*
5138
52- - name : Upload IntelliJ IDEA plugin tests report artifacts if tests have failed
39+ - name : Upload utbot-intellij tests report artifacts if tests have failed
5340 if : ${{ failure() }}
5441 uses : actions/upload-artifact@v2
5542 with :
56- name : intellij_plugin_tests_run_report.tar.gz
57- path : utbot-intellij/build/reports/tests/test/intellij_plugin_tests_run_report.tar.gz
43+ name : utbot_intellij_tests_report
44+ path : utbot-intellij/build/reports/tests/test/*
0 commit comments