forked from objectionary/eo
-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (40 loc) · 1.22 KB
/
codecov.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
---
name: codecov
on:
push:
branches:
- master
paths-ignore: [ 'paper/**', 'sandbox/**' ]
pull_request:
branches:
- master
paths-ignore: [ 'paper/**', 'sandbox/**' ]
concurrency:
group: codecov-${{ github.ref }}
cancel-in-progress: true
jobs:
codecov:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- uses: teatimeguest/[email protected]
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/[email protected]
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'