-
Notifications
You must be signed in to change notification settings - Fork 12
37 lines (33 loc) · 943 Bytes
/
test.yaml
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
name: Tests
on:
push:
branches: [ master, windows-support ]
env:
TZ: "Europe/Berlin"
jobs:
unittest:
name: Unittests
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v3
- name: Set up JDK 8
uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'adopt'
cache: 'maven'
- name: Set timezone on Windows
if: matrix.os == 'windows-latest'
run: |
tzutil /g
tzutil /s "W. Europe Standard Time"
tzutil /g
- name: Compile
run: mvn compile
# - name: Verify
# run: mvn --batch-mode test -D"org.slf4j.simpleLogger.defaultLogLevel"="error" -D"org.slf4j.simpleLogger.log.de.neuland.pug4j"="debug" -D"test"="PugLexerTest"
- name: Verify all
run: mvn --batch-mode --update-snapshots verify