Skip to content

Commit

Permalink
introducing a first github action
Browse files Browse the repository at this point in the history
This github-action tries to mimic what is currently done with travis. It
uses a m2 caching module as well, and uses basically the same command to
launch the testsuite.
  • Loading branch information
pmauduit committed Dec 16, 2020
1 parent 7bdf8ce commit 52384ce
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: "Checking out"
uses: actions/checkout@v2

- name: "Setting up Java"
uses: actions/setup-java@v1
with:
java-version: '11.x'

- name: "Maven repository caching"
uses: actions/cache@v1
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: "Run the testsuite"
run: ./mvnw clean install -P-docker --no-transfer-progress -B

0 comments on commit 52384ce

Please sign in to comment.