[Gradle Release Plugin] - pre tag commit: 'v2.3.0'. #577
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: Build | |
on: [push] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 17 | |
- name: Start docker | |
run: docker compose -f docker-compose.test.yml up -d | |
- name: Run test | |
id: test | |
run: JAVA_OPTS="--enable-preview" ./gradlew test | |
- name: Stop docker | |
run: docker compose -f docker-compose.test.yml down | |
- name: Run sample application test | |
run: JAVA_OPTS="--enable-preview" ./gradlew :sample:test | |
- name: Publish Unit Test Results | |
uses: EnricoMi/publish-unit-test-result-action@v1 | |
if: always() | |
with: | |
files: "**/test-results/**/*.xml" | |