-
Notifications
You must be signed in to change notification settings - Fork 13
55 lines (51 loc) · 1.3 KB
/
ci-core-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
name: Continuous Integration (core 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-short-tc-ui-tests=true
-Dskip-long-tc-ui-tests=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