Pārlūkot izejas kodu

Add GitHub Actions CI workflow (#1992)

master
brothelul GitHub pirms 3 gadiem
vecāks
revīzija
217cccd704
Šim parakstam datu bāzē netika atrasta zināma atslēga GPG atslēgas ID: 4AEE18F83AFDEB23
1 mainītis faili ar 28 papildinājumiem un 0 dzēšanām
  1. +28
    -0
      .github/workflows/ci.yml

+ 28
- 0
.github/workflows/ci.yml Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt