prepare release 3.1.0 #26
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
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 | |