-
Notifications
You must be signed in to change notification settings - Fork 32
57 lines (48 loc) · 1.38 KB
/
check.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
name: Check
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
check:
name: Run Gradle
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: 11
distribution: adopt
- name: Build & run functional tests
run: ./gradlew -i -S build functionalTest
- name: Publish unit test results
uses: mikepenz/action-junit-report@v2
if: always()
with:
report_paths: |
**/target/**/TEST-*.xml
**/build/**/TEST-*.xml
**/cypress/results/**/TEST-*.xml
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Publish unit test reports
uses: actions/upload-artifact@v2
if: always()
with:
name: gap-unit-tests-reports
path: build/reports/tests/test
- name: Publish functional test reports
uses: actions/upload-artifact@v2
if: always()
with:
name: gap-functional-tests-reports
path: build/reports/tests/functionalTest
- name: Publish launcher functional test reports
uses: actions/upload-artifact@v2
if: always()
with:
name: gap-launcher-functional-tests-reports
path: launcher/build/reports/tests/functionalTest