Skip to content
This repository has been archived by the owner on May 15, 2024. It is now read-only.

Commit

Permalink
Add CI to unit test and validate compatibility
Browse files Browse the repository at this point in the history
Using `fetch-depth: 0` on checkout because the code relies on the
history of the repository
  • Loading branch information
sldblog committed May 21, 2021
1 parent 0eb0d4a commit 8aa0b44
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Build

on: [push]

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: '11'
- run: ./gradlew check --console=plain

compatibility:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: '11'
- run: ./gradlew assemble --console=plain
- run: java -jar app/build/libs/app.jar

0 comments on commit 8aa0b44

Please sign in to comment.