mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 01:54:22 +00:00
Rename ci.yml to build.yml. Tweak Codecov configs to wait for 2 builds to complete before sending back coverage notifications.
This commit is contained in:
@@ -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:
|
||||
|
@@ -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
|
Reference in New Issue
Block a user