Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Sentinel CI

on: [push]

jobs:
build:
runs-on: ubuntu-18.04
strategy:
matrix:
java: [8, 11]
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup Java
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
architecture: x64

- name: Test with Maven
run: mvn test

- name: Build with Maven
run: mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V -DminimumPriority=1
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here we'll need to execute both build and test.

FYI (config in Travis CI): https://docs.travis-ci.com/user/languages/java/#maven-dependency-management

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, I will change it later.


- name: Run Codecov
run: bash <(curl -s https://codecov.io/bash)