docs(generated): use text extensions in README instead of txt
#982
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: test | |
| on: | |
| push: | |
| branches: ['main'] | |
| pull_request: | |
| branches-ignore: ['gh-pages'] | |
| env: | |
| SERVER_AUTH_TYPE: basic | |
| SERVER_URL: http://127.0.0.1:5984 | |
| SERVER_USERNAME: admin | |
| SERVER_PASSWORD: password | |
| WIREMOCK_URL: http://127.0.0.1:8080 | |
| WIREMOCK_PORT: 8080 | |
| jobs: | |
| test: | |
| strategy: | |
| matrix: | |
| java: ['11', '17', '21'] | |
| runs-on: ubuntu-latest | |
| services: | |
| couchdb: | |
| image: apache/couchdb:3 | |
| env: | |
| COUCHDB_USER: ${{ env.SERVER_USERNAME }} | |
| COUCHDB_PASSWORD: ${{ env.SERVER_PASSWORD }} | |
| options: --name couchdb | |
| ports: | |
| - 5984:5984 | |
| wiremock: | |
| image: wiremock/wiremock | |
| options: --name wiremock | |
| ports: | |
| - 8080:8080 | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| with: | |
| persist-credentials: false | |
| - name: Setup java ${{ matrix.java }} | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: 'temurin' | |
| java-version: ${{ matrix.java }} | |
| cache: 'maven' | |
| check-latest: false | |
| - name: Setup CouchDB | |
| shell: bash | |
| run: ${GITHUB_WORKSPACE}/scripts/setup_couch.sh | |
| - name: Setup Wiremock | |
| shell: bash | |
| run: ${GITHUB_WORKSPACE}/scripts/setup_wiremock.sh | |
| - name: Run tests | |
| run: mvn --batch-mode verify | |