Skip to content

Commit

Permalink
Codecov: require that the project coverage always stays above 70%
Browse files Browse the repository at this point in the history
  • Loading branch information
DilumAluthge committed Mar 12, 2021
1 parent fa2ad98 commit 6cb2e04
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 6 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/ci_unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,3 @@ jobs:
- uses: julia-actions/julia-runtest@v1
env:
AUTOMERGE_RUN_INTEGRATION_TESTS: "false"
# - uses: julia-actions/julia-processcoverage@v1
# - uses: codecov/codecov-action@v1
# with:
# file: lcov.info
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "RegistryCI"
uuid = "0c95cc5f-2f7e-43fe-82dd-79dbcba86b32"
authors = ["Dilum Aluthge <dilum@aluthge.com>", "Fredrik Ekre <ekrefredrik@gmail.com>", "contributors"]
version = "6.7.4"
version = "6.7.5"

[deps]
Base64 = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"
Expand Down
3 changes: 2 additions & 1 deletion bors.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ status = [
"Unit/Julia 1/ubuntu-latest/x64",
"Unit/Julia nightly/ubuntu-latest/x64",
"VersionVigilante",
# "codecov/patch",
"codecov/project/minimum",
# "codecov/project",
# "codecov/patch",
]

timeout_sec = 1800
12 changes: 12 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
coverage:
status:
project:
default:
target: auto
minimum:
target: "70%"
# target: "75%"
# target: "80%"
# target: "85%"
# target: "90%"
# target: "95%"

0 comments on commit 6cb2e04

Please sign in to comment.