Skip to content

Commit

Permalink
Merge d407a63 into a2fa173
Browse files Browse the repository at this point in the history
  • Loading branch information
MysterAitch committed Nov 14, 2020
2 parents a2fa173 + d407a63 commit 50f3f57
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/maven_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,23 @@ jobs:
- name: Test with Maven (incl. slow tests)
run: mvn --errors clean test --activate-profiles AlsoSlowTests

- name: CodeCov

- name: CodeCov - JavaParser Core
uses: codecov/codecov-action@v1
timeout-minutes: 10
with:
files: javaparser-core-testing/target/site/jacoco/jacoco.xml,javaparser-core-testing-bdd/target/site/jacoco/jacoco.xml
fail_ci_if_error: true # optional (default = false)
verbose: false # optional (default = false):
flags: javaparser-core,AlsoSlowTests,${{ matrix.os }},jdk-${{ matrix.jdk }}
env_vars: AlsoSlowTests,OS,JDK

- name: CodeCov - JavaParser Symbol Solver
uses: codecov/codecov-action@v1
timeout-minutes: 10
with:
files: javaparser-core-testing/target/site/jacoco/jacoco.xml,javaparser-core-testing-bdd/target/site/jacoco/jacoco.xml,javaparser-symbol-solver-core/target/site/jacoco-aggregate/jacoco.xml
file: javaparser-symbol-solver-testing/target/site/jacoco/jacoco.xml
fail_ci_if_error: true # optional (default = false)
verbose: false # optional (default = false):
flags: AlsoSlowTests,${{ matrix.os }},jdk-${{ matrix.jdk }}
flags: javaparser-symbol-solver,AlsoSlowTests,${{ matrix.os }},jdk-${{ matrix.jdk }}
env_vars: AlsoSlowTests,OS,JDK
44 changes: 44 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
codecov:
require_ci_to_pass: true


coverage:
precision: 3
round: down
range: "70...90" # Colour range - 70% coverage (and below) is solid red, 90% coverage (and above) is solid green.

# notify:
# gitter:
# default:
# url: "https://webhooks.gitter.im/e/683560e480138f1f8b1e"
# threshold: 1% # allow coverage to drop by 1% without posting a notification
# only_pulls: false
# branches:
# - "master"

# Split the coverage reporting into two sub-projects.
# https://docs.codecov.io/docs/commit-status
# https://docs.codecov.io/docs/codecovyml-reference#coveragestatus
status:
project:
javaparser-core:
threshold: 0.5%
flags:
- javaparser-core
paths:
- javaparser-core/src/main/java*
- javaparser-core-testing/src/test/java*
- javaparser-core-testing-bdd/src/test/java*
javaparser-symbol-solver:
threshold: 0.5%
flags:
- javaparser-symbol-solver
paths:
- javaparser-symbol-solver-core/src/main/java*
- javaparser-symbol-solver-testing/src/test/java*

# Comments on PRs
comment:
layout: "reach,diff,flags,files,footer"
behavior: default
require_changes: false

0 comments on commit 50f3f57

Please sign in to comment.