test: coverage for non-generated code #99
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: Build CI | |
on: | |
push: | |
branches: [ main, develop ] | |
tags: [ '[0-9]+.[0-9]+.[0-9]+' ] | |
pull_request: | |
branches: [ develop ] | |
types: [ opened, reopened, synchronize ] | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test-project: | |
runs-on: ubuntu-22.04 | |
timeout-minutes: 1 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 | |
- name: Setup Java | |
uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 | |
with: | |
distribution: temurin | |
java-version: 17 | |
cache: maven | |
- name: Executable Maven Wrapper | |
run: chmod +x ./mvnw | |
- name: Test project | |
run: ./mvnw integration-test | |
quality-check: | |
needs: test-project | |
runs-on: ubuntu-22.04 | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 | |
- name: Setup Java | |
uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 | |
with: | |
distribution: temurin | |
java-version: 17 | |
cache: maven | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@cdcdbb579706841c47f7063dda365e292e5cad7a | |
with: | |
languages: java | |
queries: security-and-quality | |
- name: Executable Maven Wrapper | |
run: chmod +x ./mvnw | |
- name: Compile project | |
run: ./mvnw compile | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@cdcdbb579706841c47f7063dda365e292e5cad7a |