Skip to content

Commit

Permalink
Update CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Vaughan committed Nov 8, 2023
1 parent 0a6f780 commit a5478aa
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/main.yml
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
7 changes: 4 additions & 3 deletions Dockerfile
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

0 comments on commit a5478aa

Please sign in to comment.