forked from alibaba/Sentinel
-
Notifications
You must be signed in to change notification settings - Fork 10
33 lines (27 loc) · 711 Bytes
/
ci.yml
File metadata and controls
33 lines (27 loc) · 711 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Sentinel CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: [8, 11]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Java
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'
architecture: x64
- name: Test with Maven
run: mvn --batch-mode 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)