initializes testing
Some checks failed
CI / deploy (push) Has been cancelled

This commit is contained in:
Arindy
2024-10-23 00:21:34 +02:00
parent 948109cd96
commit 31c2047f79
4 changed files with 93 additions and 8 deletions

View File

@@ -6,6 +6,8 @@ jobs:
env:
REPO: ${{ github.event.repository.name }}
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- name: Check out repository code
uses: actions/checkout@v4
@@ -14,11 +16,20 @@ jobs:
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '21'
java-version: '17'
- name: Build Runner
run: ./mvnw --no-transfer-progress clean verify -Pnative -Dquarkus.native.remote-container-build=true
- name: Add coverage to PR
id: jacoco
uses: madrapps/jacoco-report@v1.7.1
with:
paths: ${{ github.workspace }}/**/target/coverage/jacoco.xml
token: ${{ secrets.GITHUB_TOKEN }}
min-coverage-overall: 40
min-coverage-changed-files: 60
- name: Build Container
run: docker build -f src/main/docker/Dockerfile.native-micro -t ${{ env.REPO }} .