Skip to content

fix docker workflow and coverage badge #7

fix docker workflow and coverage badge

fix docker workflow and coverage badge #7

Workflow file for this run

name: Code coverage CI
on:
workflow_dispatch:
pull_request:
push:
branches:
- master
jobs:
coverage:
name: Build project and upload coverage
runs-on: ubuntu-latest
steps:
- name: Checkout code changes
uses: actions/checkout@v4
- name: Set up JDK 19
uses: actions/setup-java@v3
with:
java-version: 19
distribution: temurin
cache: gradle
- name: Build project with Gradle
run: chmod +x gradlew && ./gradlew build --no-daemon
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: ./build/reports/jacoco/test/
fail_ci_if_error: true
flags: unit_tests
name: codecov-umbrella
verbose: true