Add sample codecov.yml file

This commit is contained in:
Alexander Grund
2021-11-30 12:13:28 +01:00
parent 87c1459387
commit c1afa140e2
2 changed files with 24 additions and 0 deletions

View File

@@ -26,6 +26,7 @@ Here are all the steps you need to take as a Boost repository maintainer to enab
1. Copy the `.travis.yml` file from this repository into the top level of your repository.
1. Copy the `.github/workflows/ci.yml` file from this repository into the the same folder in your repository.
1. Copy the `.drone.star` file and `.drone` directory from this repository to the top level of your repository.
1. Copy the `codecov.yml` (no leading dot!) file from this repository to the top level of your repository and edit if required.
1. Copy the `LICENSE` file from this repository to the top level of your repository. This adds the `BSL-1.0` designation to your repository on github.
1. [optional] Copy the `README.template.md` file from this repository to the top level `README.md` of your repository. If you already have a README.md then you can take what you need from the template version to improve it, if desired. Otherwise, you will need to customize README.md for your repository. One useful step is to fixup the repository name using the command `sed -i 's/template/<myrepositoryname>/g' README.md`, and then update the first line description.
1. In Appveyor, add a project for your fork of the repository. No customization is needed.

23
codecov.yml Normal file
View File

@@ -0,0 +1,23 @@
# Copyright 2019 - 2021 Alexander Grund
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or copy at http://boost.org/LICENSE_1_0.txt)
#
# Sample codecov configuration file. Edit as required
codecov:
max_report_age: off
require_ci_to_pass: yes
notify:
# Increase this if you have multiple coverage collection jobs
after_n_builds: 1
wait_for_ci: yes
# Change how pull request comments look
comment:
layout: "reach,diff,flags,files,footer"
# Ignore specific files or folders. Glob patterns are supported.
# See https://docs.codecov.com/docs/ignoring-paths
ignore:
- extra/**/*
# - test/**/*