mirror of
https://github.com/ansible-collections/community.routeros.git
synced 2025-07-23 12:24:35 +02:00
(cherry picked from commit 656c115697
)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
508713fca6
commit
544e97ff6d
1 changed files with 11 additions and 1 deletions
12
.github/workflows/ansible-test.yml
vendored
12
.github/workflows/ansible-test.yml
vendored
|
@ -56,9 +56,19 @@ jobs:
|
||||||
# The docker container has all the pinned dependencies that are required
|
# The docker container has all the pinned dependencies that are required
|
||||||
# and all python versions ansible supports.
|
# and all python versions ansible supports.
|
||||||
- name: Run sanity tests
|
- name: Run sanity tests
|
||||||
run: ansible-test sanity --docker -v --color
|
run: ansible-test sanity --docker -v --color --coverage
|
||||||
working-directory: ./ansible_collections/community/routeros
|
working-directory: ./ansible_collections/community/routeros
|
||||||
|
|
||||||
|
# ansible-test support producing code coverage date
|
||||||
|
- name: Generate coverage report
|
||||||
|
run: ansible-test coverage xml -v --requirements --group-by command --group-by version
|
||||||
|
working-directory: ./ansible_collections/community/routeros
|
||||||
|
|
||||||
|
# See the reports at https://codecov.io/gh/ansible_collections/ansible-collections/community.routeros
|
||||||
|
- uses: codecov/codecov-action@v2
|
||||||
|
with:
|
||||||
|
fail_ci_if_error: false
|
||||||
|
|
||||||
###
|
###
|
||||||
# Unit tests (OPTIONAL)
|
# Unit tests (OPTIONAL)
|
||||||
#
|
#
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue