Skip to content

Conversation

@meltsufin
Copy link
Member

Introduces a new GitHub Actions workflow to perform compatibility testing with the Spanner library analogous to the release train.

The workflow utilizes a new shell script (tests/spanner/test-spanner.sh) that downloads the java-spanner repository at the version that is currently in the Libraries BOM, updates its sdk-platform-java-config dependency version to also match the version in the Libraries BOM, and executes the Spanner build process.

In this commit we are only running the Spanner unit tests, but this can later be expanded to include integration tests.

Introduces a new GitHub Actions workflow to perform compatibility testing with the Spanner library analogous to the release train.

The workflow utilizes a new shell script (`tests/spanner/test-spanner.sh`) that downloads the `java-spanner` repository at the version that is currently in the Libraries BOM, updates its `sdk-platform-java-config` dependency version to also match the version in the Libraries BOM, and executes the Spanner build process.

In this commit we are only running the Spanner unit tests, but this can later be expanded to include integration tests.
@product-auto-label product-auto-label bot added size: m Pull request size is medium. api: spanner Issues related to the Spanner API. labels Nov 12, 2025
Comment on lines +24 to +36
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
java: [21]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v5
with:
distribution: temurin
java-version: ${{matrix.java}}
- run: java -version
- run: tests/spanner/test-spanner.sh No newline at end of file

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: spanner Issues related to the Spanner API. size: m Pull request size is medium.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant