-
Notifications
You must be signed in to change notification settings - Fork 42
63 lines (53 loc) · 1.51 KB
/
ci-build.yaml
File metadata and controls
63 lines (53 loc) · 1.51 KB
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
58
59
60
61
62
63
name: Build webtau
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 25
strategy:
matrix:
java: [17, 25]
steps:
- uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- name: Set up grahpviz
run: sudo apt-get install graphviz
- name: Build with xvfb enabled
uses: GabrielBB/xvfb-action@v1.0
with:
run: mvn -B verify
- name: Upload failed test reports
uses: actions/upload-artifact@v4
if: failure()
with:
name: failed-webtau-reports
path: "*/**/*-failed*.html"
retention-days: 2
- name: Upload all reports
uses: actions/upload-artifact@v4
if: failure()
with:
name: all-webtau-reports
path: "*/**/*webtau-report.html"
retention-days: 1
- name: Upload CLI sanity test reports
uses: actions/upload-artifact@v4
if: failure()
with:
name: failed-cli-sanity-test
path: "webtau-cli-testing/src/test/groovy/*failed*.html"
retention-days: 2
- name: Upload reports testing reports
uses: actions/upload-artifact@v4
if: failure()
with:
name: failed-reports-testing-tests
path: "webtau-report-testing/src/test/groovy/webtau.report.html"
retention-days: 2