Skip to content

Commit 56c88c3

Browse files
Merge pull request #34 from NeuronRobotics/kh/add-pr-tests
add PR tests
2 parents 8d87098 + e8c2461 commit 56c88c3

File tree

2 files changed

+58
-0
lines changed

2 files changed

+58
-0
lines changed

.github/FUNDING.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# These are supported funding model platforms
2+
github: madhephaestus
3+
#github: madhephaestus
4+
patreon: madhephaestus
5+
#community_bridge: BowlerStudio
6+
issuehunt: CommonWealthRobotics/BowlerStudio
7+
#ko-fi: bowlerstudio
8+
liberapay: madhephaestus
9+
#open_collective: kevin-harrington

.github/workflows/verify.yml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: "Test Build"
2+
3+
on: [pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- name: Checkout repository and submodules
11+
uses: actions/checkout@v2
12+
with:
13+
submodules: recursive
14+
15+
- name: List directory contents
16+
run: pwd; ls -la
17+
18+
- name: start xvfb
19+
run:
20+
Xvfb :0 &
21+
22+
- name: initialize the X11 DISPLAY variable
23+
run:
24+
export DISPLAY=:0
25+
26+
- name: After checkout, list directory contnts
27+
run: pwd; ls -la
28+
- name: Install libraries
29+
run: |
30+
sudo apt update
31+
sudo apt install libgtk2.0-0
32+
33+
- name: Pull a JavaFX JDK
34+
run: wget http://static.azul.com/zulu/bin/zulu8.33.0.1-ca-fx-jdk8.0.192-linux_x64.tar.gz
35+
36+
- name: After JDK download, list directory contnts
37+
run: pwd; ls -la
38+
39+
- name: Set Java
40+
uses: actions/setup-java@v1
41+
with:
42+
java-version: 1.8
43+
jdkFile: ./zulu8.33.0.1-ca-fx-jdk8.0.192-linux_x64.tar.gz
44+
45+
46+
- name: Test with Gradle
47+
run: xvfb-run -s '-screen 0 1024x768x24' ./gradlew test
48+
49+

0 commit comments

Comments
 (0)