Skip to content

Commit

Permalink
Rename ci.yml to build.yml. Tweak Codecov configs to wait for 2 build…
Browse files Browse the repository at this point in the history
…s to complete before sending back coverage notifications.
  • Loading branch information
tdonohue committed Nov 24, 2020
1 parent 97a14fb commit ac73d14
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
7 changes: 7 additions & 0 deletions .codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@
# Can be validated via instructions at:
# https://docs.codecov.io/docs/codecov-yaml#validate-your-repository-yaml

# Tell Codecov not to send a coverage notification until (at least) 2 builds are completed
# Since we run Unit & Integration tests in parallel, this lets Codecov know that coverage
# needs to be merged across those builds
codecov:
notify:
after_n_builds: 2

# Settings related to code coverage analysis
coverage:
status:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml → .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# DSpace Continuous Integration via GitHub Actions
# DSpace Continuous Integration/Build via GitHub Actions
# Concepts borrowed from
# https://docs.github.com/en/free-pro-team@latest/actions/guides/building-and-testing-java-with-maven
name: CI
name: Build

# Run this CI only for pushes / PRs to main branch
# Run this Build only for pushes / PRs to main branch
on:
push:
branches: main
Expand Down

0 comments on commit ac73d14

Please sign in to comment.