Skip to content

No req content type auto added if empty body #12

No req content type auto added if empty body

No req content type auto added if empty body #12

Workflow file for this run

name: CI
on:
workflow_dispatch:
push:
branches: [ master ]
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
CI:
name: CI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.head_ref }}
- uses: gradle/wrapper-validation-action@v2
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
- name: Run tests
run: ./gradlew test
- name: Report tests
uses: mikepenz/action-junit-report@v4
if: always()
with:
report_paths: '**/build/test-results/test/TEST-*.xml'
- name: Report code coverage
run: ./gradlew jacocoTestReport && bash <(curl -s https://codecov.io/bash)