Skip to content

Coverage

Coverage #1379

Workflow file for this run

name: Coverage
on:
pull_request:
branches:
- main
merge_group:
permissions: read-all
jobs:
test-coverage:
runs-on: ubuntu-22.04
steps:
- name: Setup Java
uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4
with:
distribution: 'temurin'
java-version: '17'
- name: Setup Clojure
uses: DeLaGuardo/setup-clojure@bc7570e912b028bbcc22f457adec7fdf98e2f4ed # 12.5
with:
cli: '1.11.2.1446'
- name: Setup Node
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4
with:
node-version: 21
- name: Check out Git repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- name: Cache Local Maven Repo
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-temurin-17-maven-test-coverage-${{ hashFiles('**/deps.edn') }}
- name: Build
working-directory: job-ig
run: make build
- name: Test Coverage
run: make test-coverage
- name: Codecov Upload
uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # v4
with:
name: codecov-umbrella
token: ${{ secrets.CODECOV_TOKEN }}
file: modules/**/target/coverage/codecov.json
fail_ci_if_error: true