refactor: align column name: catalogKey -> catalogName #240
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: Build & Test | |
| on: | |
| push: | |
| branches: [master] | |
| pull_request: | |
| branches: [master] | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| checks: write | |
| jobs: | |
| gradle: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| distribution: temurin | |
| java-version: "21" | |
| - uses: gradle/actions/setup-gradle@v4 | |
| with: | |
| cache-read-only: ${{ github.ref != 'refs/heads/master' }} | |
| - name: Test | |
| run: ./gradlew test -PexcludeTags=ci-skip --no-daemon | |
| - name: Convert JUnit XML to CTRF | |
| if: always() | |
| run: npx junit-to-ctrf "**/build/test-results/test/*.xml" -o ctrf/ctrf-report.json -t gradle | |
| - name: Publish test report | |
| if: always() | |
| uses: ctrf-io/github-test-reporter@v1 | |
| with: | |
| report-path: './ctrf/ctrf-report.json' | |
| github-report: true | |
| pull-request-report: true | |
| failed-report: true | |
| annotate: true | |
| upload-artifact: true | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |