Update README.md #186
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: Run Tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: sdkman/sdkman-action@b1f9b696c79148b66d3d3a06f7ea801820318d0f | |
id: sdkman | |
- name: Run tests | |
run: | | |
export JAVA_HOME=$(sdk home java 21.0.1-tem) | |
mvn clean test | |
example-test: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
environment: | |
- simple-api-test | |
- backward-compatible | |
- database | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: sdkman/sdkman-action@b1f9b696c79148b66d3d3a06f7ea801820318d0f | |
id: sdkman | |
- name: Gauge install | |
run: | | |
curl -SsL https://downloads.gauge.org/stable | sh | |
- name: Run tests | |
run: | | |
export JAVA_HOME=$(sdk home java 21.0.1-tem) | |
mvn clean install -Dgpg.skip --no-transfer-progress | |
cd examples/${{ matrix.environment }} | |
mvn test --no-transfer-progress |