simple folder and file in folder are created, changed how info to gat… #3687
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 Adapter 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: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
adapter: [ mongodb, hsqldb, monetdb, postgresql, file, cottontail, neo4j ] | |
name: Integration Tests (Java 11) | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: 11 | |
- name: Set env variable | |
run: | | |
echo "POLYPHENY_HOME=$GITHUB_WORKSPACE" >> $GITHUB_ENV | |
- name: Assemble | |
uses: nick-invision/retry@v2 | |
with: | |
max_attempts: 2 | |
timeout_minutes: 60 | |
command: ./gradlew assemble | |
- name: Build Plugins | |
uses: nick-invision/retry@v2 | |
with: | |
max_attempts: 1 | |
timeout_minutes: 60 | |
command: ./gradlew assemblePlugins | |
- name: Execute integration tests for ${{ matrix.adapter }} | |
uses: nick-invision/retry@v2 | |
with: | |
max_attempts: 3 | |
timeout_minutes: 30 | |
command: ./gradlew integrationTests -Dstore.default=${{ matrix.adapter }} |