-
Notifications
You must be signed in to change notification settings - Fork 2
43 lines (34 loc) · 960 Bytes
/
build.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
name: Build
on: [push]
jobs:
build:
runs-on: ubuntu-latest
name: Java 11 Build and Test
steps:
- uses: actions/checkout@v1
- name: Install dependencies
run: sudo apt-get install -y x11vnc xvfb
- name: Setup java
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: 11
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
with:
cache-disabled: false
- name: Test languages
run: xvfb-run ./gradlew checkMps
- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action@v2
if: always()
with:
files: |
TEST-*.xml
large_files: "true"
report_individual_runs: "true"
report_suite_logs: "any"
check_run_annotations: all tests, skipped tests
action_fail: "true"
# - name: Test command-line export
# run: xvfb-run ./gradlew testCmdlineExport