diff --git a/.codecov.yml b/.codecov.yml index e6cda66..233bbed 100644 --- a/.codecov.yml +++ b/.codecov.yml @@ -1,2 +1,23 @@ -# Copying this file into other projects has no effect when done on CI only -# and is not required anyway +# 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/**/* diff --git a/README.md b/README.md index 1bb6c0b..dd9e7f0 100644 --- a/README.md +++ b/README.md @@ -26,7 +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 `.codecov.yml` 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//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. diff --git a/codecov.yml b/codecov.yml deleted file mode 100644 index 233bbed..0000000 --- a/codecov.yml +++ /dev/null @@ -1,23 +0,0 @@ -# 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/**/*