Merge pull request #111 from a-schild/ci/testcontainers-integration #5
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: CI | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| jobs: | |
| test: | |
| name: Build and integration test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up JDK 11 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '11' | |
| distribution: 'zulu' | |
| cache: maven | |
| # Docker is preinstalled on ubuntu-latest runners, so Testcontainers can | |
| # spin up the throw-away Nextcloud server used by the integration tests. | |
| # | |
| # continue-on-error is temporary: ~45 tests currently fail against a clean | |
| # Nextcloud 31 (tracked in #112). Remove it once the suite is green so CI | |
| # gates again. | |
| - name: Build and run tests | |
| continue-on-error: true | |
| run: mvn --batch-mode --update-snapshots verify -DskipTests=false |