Mercurial > hg > monetdb-java
view .github/workflows/monetdbversions.yml @ 895:7a8f6d3d6680
Remove testing against Jul2021. It appears the MonetDB Jul2021 docker container is too old to work correctly in this actions framework (it uses different env settings, which fail to start the server).
author | Martin van Dinther <martin.van.dinther@monetdbsolutions.com> |
---|---|
date | Thu, 25 Apr 2024 15:01:16 +0200 (12 months ago) |
parents | 3b215a009634 |
children | 8611e23d2771 |
line wrap: on
line source
# This workflow will build a Java project with Maven # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven # or https://github.com/actions/checkout and https://github.com/actions/setup-java name: Test with various MonetDB versions on: [push] jobs: test: runs-on: ubuntu-latest strategy: fail-fast: false matrix: monetdbversion: - "monetdb/dev-builds:Jan2022" - "monetdb/dev-builds:Sep2022" - "monetdb/dev-builds:Jun2023" - "monetdb/dev-builds:Dec2023" - "monetdb/dev-builds:default" services: monetdb_container: image: ${{ matrix.monetdbversion }} env: MDB_DAEMON_PASS: monetdb MDB_DB_ADMIN_PASS: monetdb ports: - 50000:50000 steps: - uses: actions/checkout@v4 - name: Set up JDK uses: actions/setup-java@v4 with: java-version: 8 distribution: liberica - name: Build run: make - name: Create jar symlink run: ln -s monetdb-jdbc*.jar monetdb-jdbc.jar working-directory: jars - name: Run JDBC_API_Tester run: java -cp jars/monetdb-jdbc.jar:jars/jdbctests.jar JDBC_API_Tester 'jdbc:monetdb://localhost:50000/monetdb?user=monetdb&password=monetdb' - name: Run OnClientTester run: java -cp jars/monetdb-jdbc.jar:jars/jdbctests.jar OnClientTester 'jdbc:monetdb://localhost:50000/monetdb?user=monetdb&password=monetdb' -v