Skip to content

Library upgrades (#151) #352

Library upgrades (#151)

Library upgrades (#151) #352

# This workflow will build a Java project with Maven
# Integration tests for github are disabled temporarily
name: Run the Integration Tests for Spring Cloud Oracle
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: Setup Java 17
uses: actions/setup-java@v1
with:
java-version: 17
distribution: 'temurin'
java-package: 'jdk'
cache: 'maven'
- name: Run Maven Build and Test
working-directory: ./spring-cloud-oci
run: |
mvn clean \
-Pspring-cloud-oci-ci-it \
-DuserId=${{ secrets.userId }} \
-DtenantId=${{ secrets.tenantId }} \
-Dfingerprint=${{ secrets.fingerprint }} \
-Dregion=${{ vars.region }} \
-DprivateKeyContent=${{ secrets.privateKeyContent }} \
-Dit.notification=${{ vars.it_notification }} \
-DtopicName=${{ vars.topicName }} \
-DcompartmentId=${{ secrets.compartmentId }} \
-Dit.logging=${{ vars.it_logging }} \
-DlogId=${{ vars.logId }} \
-Dit.storage=${{ vars.it_storage }} \
-DbucketName=${{ vars.bucketName }} \
install -DskipTests