Repository navigation
feat(schema): model LIKE and PARTITION OF tables and partition links #60
Workflow file for this run
This file contains hidden or 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: Tests | |
| on: | |
| pull_request: | |
| branches: | |
| - master | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: tests-${{ github.event.pull_request.number }} | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| name: Maven test and release verification on Java ${{ matrix.java-version }} | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 20 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| java-version: ["17", "21"] | |
| services: | |
| postgres: | |
| image: postgres:16-alpine | |
| env: | |
| POSTGRES_DB: quickstart | |
| POSTGRES_USER: quickstart | |
| POSTGRES_PASSWORD: quickstart | |
| ports: | |
| - 5432/tcp | |
| options: >- | |
| --health-cmd "pg_isready --username quickstart --dbname quickstart" | |
| --health-interval 10s | |
| --health-timeout 5s | |
| --health-retries 10 | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 | |
| with: | |
| persist-credentials: false | |
| - name: Set up Java ${{ matrix.java-version }} | |
| uses: actions/setup-java@de7274f081f381c8f8158605e0321c36c376e2e6 | |
| with: | |
| distribution: temurin | |
| java-version: ${{ matrix.java-version }} | |
| cache: maven | |
| cache-dependency-path: pom.xml | |
| - name: Run tests | |
| run: mvn --batch-mode --no-transfer-progress -Dsqlcj.test.requireDocker=true test | |
| - name: Verify staged artifacts with the external Maven sample | |
| env: | |
| SQLCJ_SAMPLE_JDBC_URL: jdbc:postgresql://localhost:${{ job.services.postgres.ports['5432'] }}/quickstart | |
| SQLCJ_SAMPLE_DB_USER: quickstart | |
| SQLCJ_SAMPLE_DB_PASSWORD: quickstart | |
| run: scripts/verify-release.sh |