瀏覽代碼

Add GitHub Actions CI workflow (#1992)

master
brothelul GitHub 3 年之前
父節點
當前提交
217cccd704
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: 4AEE18F83AFDEB23
共有 1 個文件被更改,包括 28 次插入0 次删除
  1. +28
    -0
      .github/workflows/ci.yml

+ 28
- 0
.github/workflows/ci.yml 查看文件

@@ -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

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

Loading…
取消
儲存