Skip to content

Tracing status code fixed #612

Tracing status code fixed

Tracing status code fixed #612

Workflow file for this run

name: Run PR tests
on:
pull_request:
branches:
- "master"
permissions:
contents: read
checks: write
pull-requests: write
jobs:
run-tests:
runs-on: ubuntu-latest
strategy:
matrix:
task: [ 'postgres', 'cassandra', 'redis', 'kafka', 'openapi', 'codegen-kotlin', 'codegen-java', 'other' ]
steps:
- uses: actions/checkout@v4
- name: JDK 17 setup
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'adopt'
- name: Gradle setup
uses: gradle/actions/setup-gradle@v4
with:
cache-read-only: ${{ github.ref != 'refs/heads/master' }}
gradle-home-cache-cleanup: ${{ github.ref == 'refs/heads/master' }}
- name: Gradle ${{ matrix.task }} classes
run: ./gradlew classes-${{ matrix.task }} --scan
shell: bash
- name: Gradle ${{ matrix.task }} javadoc
run: ./gradlew javadoc-${{ matrix.task }} --scan
shell: bash
- name: Gradle ${{ matrix.task }} test classes
run: ./gradlew testClasses-${{ matrix.task }} --scan
shell: bash
- name: Gradle ${{ matrix.task }} test
run: ./gradlew test-${{ matrix.task }} --scan
shell: bash
- name: Publish ${{ matrix.task }} test report
uses: EnricoMi/publish-unit-test-result-action@v2
with:
files: |
**/test-results/**/*.xml