Skip to content

Update eclipse-temurin Docker tag to v21 (#91) #27

Update eclipse-temurin Docker tag to v21 (#91)

Update eclipse-temurin Docker tag to v21 (#91) #27

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