generated from marcin-chwedczuk/javafx-template
-
Notifications
You must be signed in to change notification settings - Fork 3
29 lines (26 loc) · 858 Bytes
/
ci.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
name: Build and run tests (CI)
on:
push:
# On which branch
branches: ["main"]
# On which files
# paths: ["scripts/scripts.js", "styles/styles.scss"]
schedule:
# Every Tuesday at 1PM UTC
- cron: "0 13 * * 2"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 16
uses: actions/setup-java@v2
with:
java-version: '16'
distribution: 'adopt'
- name: "Build and run unit-tests with Maven"
run: ./mvnw --batch-mode --update-snapshots clean verify package
- name: "Run integration tests with Maven"
run: ./mvnw --batch-mode verify -Dskip.integration.tests=false -Dskip.unit.tests=true
env:
_JAVA_OPTIONS: "-Djava.awt.headless=true -Dtestfx.robot=glass -Dtestfx.headless=true -Dprism.order=sw"