-
Notifications
You must be signed in to change notification settings - Fork 80
28 lines (27 loc) · 803 Bytes
/
ci.yaml
File metadata and controls
28 lines (27 loc) · 803 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
on:
push:
branches:
- master
pull_request:
name: ci
jobs:
units:
runs-on: ubuntu-latest
strategy:
matrix:
java: [8, 11]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v5
with:
java-version: ${{matrix.java}}
distribution: 'temurin'
- run: java -version
# The http connection settings avoid Maven's HTTP connection reset in GitHub Actions
# https://github.com/actions/virtual-environments/issues/1499#issuecomment-689467080
- run: |
./mvnw -B -e -ntp test \
-pl dependencies,boms/integration-tests \
-Dtest=com.google.cloud.BomContentTest \
-Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false \
-Dmaven.wagon.httpconnectionManager.ttlSeconds=120