-
Notifications
You must be signed in to change notification settings - Fork 29
44 lines (41 loc) · 1.08 KB
/
tests.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
name: tests
on: push
env:
IMAGE_FQDN: ghcr.io/eugenmayer/kontextwork-converter
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install libreoffice
run: sudo apt update && sudo apt-get install -y libreoffice
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'adopt'
- name: Build
uses: gradle/gradle-build-action@v2
with:
arguments: build
- name: Unit Tests
uses: gradle/gradle-build-action@v2
with:
arguments: unitTest
- name: IT Tests
uses: gradle/gradle-build-action@v2
with:
arguments: itTests
- name: E2E Tests
uses: gradle/gradle-build-action@v2
with:
arguments: e2eTests
- name: Report
uses: dorny/test-reporter@v1.6.0
if: always()
with:
name: Tests Results
path: "**/test-results/**/TEST*.xml"
reporter: java-junit
fail-on-error: false