Skip to content

Adding firestore/spanner encoders and enabling IT tests #9

Adding firestore/spanner encoders and enabling IT tests

Adding firestore/spanner encoders and enabling IT tests #9

Workflow file for this run

name: Java CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java-version: [11, 17]
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: ${{ matrix.java-version }}
cache: maven
- name: "Debug: list built JARs"
run: |
echo "Common module artifacts:"
ls -1 multicloudj-common/target/ || true
- name: "Debug: where are we?"
run: |
echo "PWD: $PWD"
find . -maxdepth 2 -type f -name pom.xml
- name: "Install Maven 3.9.9"
run: |
MAVEN_VERSION=3.9.9
curl -fsSL https://archive.apache.org/dist/maven/maven-3/$MAVEN_VERSION/binaries/apache-maven-$MAVEN_VERSION-bin.tar.gz \
| tar xz -C $HOME
echo "$HOME/apache-maven-$MAVEN_VERSION/bin" >> $GITHUB_PATH
- name: Check Maven version
run: mvn --version
- name: Build & verify with Maven
# only include this if your parent POM is in a subfolder:
# working-directory: ./multicloudj
run: mvn --batch-mode verify