-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Tim Vaughan
committed
Nov 8, 2023
1 parent
0a6f780
commit a5478aa
Showing
2 changed files
with
14 additions
and
3 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
name: Unit/integration tests | ||
on: [ push, pull_request, workflow_dispatch ] | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- run: docker build -t tests . | ||
- run: docker run tests |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
# Dockerfile to build container for unit testing | ||
|
||
FROM openjdk:8 | ||
FROM debian:stable | ||
|
||
RUN apt-get update && apt-get install -y git ant | ||
RUN apt-get update | ||
RUN apt-get install -y openjdk-17-jdk openjfx ant | ||
|
||
WORKDIR /root | ||
|
||
ADD . ./ | ||
|
||
ENTRYPOINT ant test | ||
ENTRYPOINT JAVA_FX_HOME=/usr/share/java/ ant test |