Skip to content

Merge pull request #128 from atsign-foundation/register_api_update #249

Merge pull request #128 from atsign-foundation/register_api_update

Merge pull request #128 from atsign-foundation/register_api_update #249

Workflow file for this run

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@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- name: Set up JDK 8 and maven cache
uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 # v3.11.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