Merge pull request #3978 from h1alexbel/3977 #4580
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
# SPDX-FileCopyrightText: Copyright (c) 2016-2025 Objectionary.com | |
# SPDX-License-Identifier: MIT | |
--- | |
# yamllint disable rule:line-length | |
name: codecov | |
'on': | |
push: | |
branches: | |
- master | |
concurrency: | |
group: codecov-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
codecov: | |
timeout-minutes: 15 | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: teatimeguest/setup-texlive-action@v3.3.4 | |
with: | |
update-all-packages: true | |
packages: scheme-basic geometry xcolor naive-ebnf microtype etoolbox | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: 20 | |
- uses: actions/cache@v4 | |
with: | |
path: ~/.m2/repository | |
key: maven-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
maven- | |
- run: mvn install -Pjacoco | |
- uses: codecov/codecov-action@v5 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
files: ./eo-parser/target/site/jacoco/jacoco.xml,./eo-runtime/target/site/jacoco/jacoco.xml,./eo-maven-plugin/target/site/jacoco/jacoco.xml | |
fail_ci_if_error: true | |
if: github.ref == 'refs/heads/master' |