Skip to content

Remove trailing comma #64

Remove trailing comma

Remove trailing comma #64

Workflow file for this run

name: Test
on:
- pull_request
- push
permissions:
checks: write
jobs:
test:
name: Build and run Tests
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
java-version: 21
distribution: temurin
- name: Setup gradle
uses: gradle/actions/setup-gradle@v3
- name: Run tests
run: ./gradlew check koverXmlReport
- name: Publish Test Report
uses: mikepenz/action-junit-report@v4
if: always()
with:
report_paths: '**/build/test-results/*/TEST-*.xml'
- name: Find JUnit test results
id: junit_files
run: |
files="$(ls **build/test-results/**/TEST-*.xml | paste -s -d ',' -)"
echo "files=$files" >> "$GITHUB_OUTPUT"
echo "Found files: $files"
- name: Upload Test Results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ${{ steps.junit_files.outputs.files }}
- name: Upload Coverage Report
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: '**build/test-results/*/TEST-*.xml'