-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (29 loc) · 730 Bytes
/
maven.yml
File metadata and controls
35 lines (29 loc) · 730 Bytes
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
29
30
31
32
33
34
35
name: Java CI
on: [push]
jobs:
build_container:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Build the Docker image
run: docker build . --file Dockerfile
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v1
- name: Set up JDK 11.0.4
uses: actions/setup-java@v1
with:
java-version: 11.0.4
- name: Install dependencies
run: |
brew update
brew install brew-cask-completion
brew cask install google-chrome
brew cleanup
- name: Build with Maven
run: mvn package --file pom.xml
- name: Run Test
run: |
mvn clean test
mvn -Dtest=TestRunner.Runner.java test