diff options
author | roverflow <63404819+roverflow@users.noreply.github.com> | 2023-03-29 00:55:25 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-28 19:25:25 +0000 |
commit | 5d50d94d9f1ef6da5dddc431bf159865d9b81ed5 (patch) | |
tree | 66202172e940c9941fd2c05fb26f1ddfe26793ec | |
parent | 5541214d04d136cb4be55d2dc3aecbeea25793a4 (diff) | |
download | vyos.vyos-5d50d94d9f1ef6da5dddc431bf159865d9b81ed5.tar.gz vyos.vyos-5d50d94d9f1ef6da5dddc431bf159865d9b81ed5.zip |
added codecov via gha (#301)
* added codecov via gha
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Kate Case <this.is@katherineca.se>
-rw-r--r-- | .github/workflows/codecoverage.yml | 15 | ||||
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | changelogs/fragments/ci_codecov.yml | 3 | ||||
-rw-r--r-- | codecov.yml | 10 | ||||
-rw-r--r-- | galaxy.yml | 2 |
5 files changed, 30 insertions, 2 deletions
diff --git a/.github/workflows/codecoverage.yml b/.github/workflows/codecoverage.yml new file mode 100644 index 00000000..b425edcc --- /dev/null +++ b/.github/workflows/codecoverage.yml @@ -0,0 +1,15 @@ +--- +name: Code Coverage + +on: # yamllint disable-line rule:truthy + push: + pull_request: + branches: [ main ] + +jobs: + codecoverage: + uses: ansible-network/github_actions/.github/workflows/coverage_network_devices.yml@main + with: + collection_pre_install: >- + git+https://github.com/ansible-collections/ansible.utils.git + git+https://github.com/ansible-collections/ansible.netcommon.git @@ -2,7 +2,7 @@ # VyOS Collection [](https://dashboard.zuul.ansible.com/t/ansible/project/github.com/ansible-collections/vyos.vyos) <!--[](https://codecov.io/gh/ansible-collections/vyos)--> - +[](https://codecov.io/gh/ansible-collections/vyos.vyos) The Ansible VyOS collection includes a variety of Ansible content to help automate the management of VyOS network appliances. This collection has been tested against VyOS 1.1.8 (helium). diff --git a/changelogs/fragments/ci_codecov.yml b/changelogs/fragments/ci_codecov.yml new file mode 100644 index 00000000..ea17f51a --- /dev/null +++ b/changelogs/fragments/ci_codecov.yml @@ -0,0 +1,3 @@ +--- +trivial: + - added codecov to the CI pipeline diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 00000000..816cb440 --- /dev/null +++ b/codecov.yml @@ -0,0 +1,10 @@ +--- +codecov: + require_ci_to_pass: true +comment: false +coverage: + status: + patch: false + project: + default: + threshold: 0.3% @@ -11,4 +11,4 @@ readme: README.md repository: https://github.com/ansible-collections/vyos.vyos issues: https://github.com/ansible-collections/vyos.vyos/issues tags: [vyos, networking] -version: 4.0.1 +version: 4.0.2-dev |