-
Notifications
You must be signed in to change notification settings - Fork 14
56 lines (52 loc) · 1.33 KB
/
ci-short-ui-tests-only.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
name: Continuous Integration (short-ui tests only)
on:
push:
branches:
- master
- stable-*
pull_request:
branches:
- master
- stable-*
jobs:
build:
runs-on: ubuntu-22.04
timeout-minutes: 90
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- name: Set up Maven
uses: stCarolas/setup-maven@07fbbe97d97ef44336b7382563d66743297e442f # v4.5
with:
maven-version: 3.9.5
- name: Build with Maven
uses: coactions/setup-xvfb@b6b4fcfb9f5a895edadc3bc76318fae0ac17c8b3 # v1.0.1
with:
run: >-
mvn -B -Pctf-grammar -Pbuild-rcp
-Dskip-tc-core-tests=true
-Dskip-long-tc-ui-tests=true
-Dskip-rcp=true
clean install
- name: Upload logs
uses: actions/upload-artifact@v3
if: success() || failure()
with:
name: build logs
path: |
*/*tests/screenshots/*.jpeg
*/*tests/target/work/data/.metadata/.log
- name: Upload test results
uses: actions/upload-artifact@v3
if: success() || failure()
with:
name: test results
path: |
*/*/target/surefire-reports/*.xml