-
Notifications
You must be signed in to change notification settings - Fork 19
34 lines (31 loc) · 1.1 KB
/
at_client.yml
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: Java at_client CI
on:
push:
branches:
- trunk
pull_request:
branches:
- trunk
permissions: # added using https://github.com/step-security/secure-workflows
contents: read
jobs:
test-and-build:
defaults:
run:
working-directory: at_client
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Set up JDK 8 and maven cache
uses: actions/setup-java@2dfa2011c5b2a0f1489bf9e433881c92c1631f88 # v4.3.0
with:
java-version: '8'
distribution: 'adopt'
cache: maven
server-id: ossrh # Value of the distributionManagement/repository/id field of the pom.xml
- name: Build clean and run unit tests
run: mvn --batch-mode clean test -DskipIntegrationTests=true -Dgpg.skip=true
- name: Run integration tests
run: mvn --batch-mode verify -DskipUnitTests=true -Dgpg.skip=true
- name: Generate build outputs
run: mvn --batch-mode install -DskipTests=true --update-snapshots --no-transfer-progress -Dgpg.skip=true