Fix JdbcStatementTest #566
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Polypheny-DB Plugin Matrix CI | |
on: | |
push: | |
pull_request: | |
types: [ opened, synchronize, reopened, ready_for_review ] | |
jobs: | |
build: | |
if: ${{ github.event_name != 'pull_request' || github.event.pull_request.draft == false }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
java: [ 17, 21 ] | |
os: [ macos-latest, ubuntu-latest, windows-latest ] | |
name: Java ${{ matrix.java }} @ ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
path: main # Temporary | |
- name: Checkout Driver (temporary) | |
uses: actions/checkout@v4 | |
with: | |
repository: polypheny/Polypheny-JDBC-Driver | |
ref: proto-without-grpc | |
path: Polypheny-JDBC-Driver | |
- name: Set up JDK | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: ${{ matrix.java }} | |
- name: Set env variable | |
run: | | |
echo "POLYPHENY_HOME=$GITHUB_WORKSPACE" >> $GITHUB_ENV | |
- name: Build Driver (temporary) | |
run: ./gradlew publishToMavenLocal | |
working-directory: Polypheny-JDBC-Driver | |
- name: Assemble | |
timeout-minutes: 60 | |
run: ./gradlew assemble | |
working-directory: main # temporary | |
- name: Build Plugins | |
timeout-minutes: 60 | |
run: ./gradlew assemblePlugins | |
working-directory: main # temporary | |
- name: Execute tests | |
timeout-minutes: 30 | |
run: ./gradlew -p plugins test | |
working-directory: main # temporary |