summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorroverflow <63404819+roverflow@users.noreply.github.com>2023-03-29 00:55:25 +0530
committerGitHub <noreply@github.com>2023-03-28 19:25:25 +0000
commit5d50d94d9f1ef6da5dddc431bf159865d9b81ed5 (patch)
tree66202172e940c9941fd2c05fb26f1ddfe26793ec /.github/workflows
parent5541214d04d136cb4be55d2dc3aecbeea25793a4 (diff)
downloadvyos-ansible-collection-5d50d94d9f1ef6da5dddc431bf159865d9b81ed5.tar.gz
vyos-ansible-collection-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>
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/codecoverage.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/.github/workflows/codecoverage.yml b/.github/workflows/codecoverage.yml
new file mode 100644
index 0000000..b425edc
--- /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