forked from biojava/biojava
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (30 loc) · 790 Bytes
/
Copy pathpull_request.yml
File metadata and controls
34 lines (30 loc) · 790 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
34
name: PR Build
on:
push:
branches:
- '!master'
pull_request:
branches:
- master
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
# We do one OS only to reduce resource utilization. To do macOS to this would be needed:
#os: [ubuntu-20.04, macOS-latest]
os: [ubuntu-latest]
java: [11]
fail-fast: false
max-parallel: 4
name: Test JDK ${{ matrix.java }}, ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
- name: Set up JDK
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- name: Build, test and integration test
run: mvn verify --no-transfer-progress