try out github actions over travis

This commit is contained in:
Phred 2021-09-11 05:37:18 -05:00
parent 4ada3f8ab9
commit ab56d914ce
No known key found for this signature in database
GPG key ID: 8103F27168DAA2A0

26
.github/workflows/ci.yml vendored Normal file
View file

@ -0,0 +1,26 @@
name: CI
on:
push:
branches:
- github-actions
pull_request:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v2
with:
java-version: 8
cache: maven
# https://docs.travis-ci.com/user/languages/java/#maven-dependency-management
- run: mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
# https://docs.travis-ci.com/user/languages/java/#maven-default-script-command
- run: mvn test -B