Skip to content

Commit

Permalink
[#117] Added github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
susanw1 committed Oct 6, 2023
1 parent 17929d9 commit 05e2a09
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/maven.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Java Build

on: [ push ]

jobs:
build:
name: Maven Build
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Set up JDK 1.11
uses: actions/setup-java@v3
with:
java-version: 1.11
cache: maven

- name: Build with Maven
run: mvn -B verify --file pom.xml

# - name: Java code coverage
# uses: codecov/codecov-action@v1
# with:
# token: ${{ secrets.CODECOV_TOKEN }} #required
# flags: unittests
# file: jacoco.xml #optional
# name: codecov-umbrella #optional
# yml: ./codecov.yml #optional
# fail_ci_if_error: true #optional (default = false)

0 comments on commit 05e2a09

Please sign in to comment.