Skip to content

Commit 4045e2b

Browse files
committed
Add GH Action
1 parent 986bf39 commit 4045e2b

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/main.yml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: CI
2+
on: push
3+
4+
jobs:
5+
build:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/checkout@v2
9+
10+
# - name: Setup Java JDK
11+
# uses: actions/[email protected]
12+
# with:
13+
# java-version: 1.8
14+
- name: Setup JavaFX
15+
run: |
16+
apt update
17+
apt install openjfx
18+
export DISPLAY=:99.0
19+
20+
- name: Run tests
21+
run: |
22+
./gradlew check jacocoTestReport coveralls
23+
24+
- name: Upload codecov report
25+
if: success()
26+
run: bash <(curl -s https://codecov.io/bash)

0 commit comments

Comments
 (0)