feat: add sonar code coverage #87
Workflow file for this run
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: Eno V3 test | |
on: | |
pull_request: | |
branches: | |
- 'v3-main' | |
- 'v3-next' | |
types: [opened, synchronize, reopened, ready_for_review] | |
paths-ignore: ['docs/**', 'logo/**', 'Dockerfile', 'README**.md'] | |
jobs: | |
test: | |
if: ${{ (github.event.pull_request.draft == false) && !contains(github.event.pull_request.labels.*.name, 'deploy-snapshot') }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@v2 | |
- name: You shall not pass! | |
run: ./gradlew test |