Additional CI fixes
parent
e3af5f5325
commit
e6734bf291
|
@ -85,7 +85,7 @@ jobs:
|
||||||
- name: Check out code
|
- name: Check out code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
path: ansible_collections/ansible/COLLECTION_NAME
|
path: ansible_collections/ansible/utils
|
||||||
|
|
||||||
- name: Set up Python ${{ matrix.ansible }}
|
- name: Set up Python ${{ matrix.ansible }}
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v2
|
||||||
|
@ -103,12 +103,12 @@ jobs:
|
||||||
# Run the unit tests
|
# Run the unit tests
|
||||||
- name: Run unit test
|
- name: Run unit test
|
||||||
run: ansible-test units -v --color --python ${{ matrix.python }} --docker --coverage
|
run: ansible-test units -v --color --python ${{ matrix.python }} --docker --coverage
|
||||||
working-directory: ./ansible_collections/ansible/COLLECTION_NAME
|
working-directory: ./ansible_collections/ansible/utils
|
||||||
|
|
||||||
# ansible-test support producing code coverage date
|
# ansible-test support producing code coverage date
|
||||||
- name: Generate coverage report
|
- name: Generate coverage report
|
||||||
run: ansible-test coverage xml -v --requirements --group-by command --group-by version
|
run: ansible-test coverage xml -v --requirements --group-by command --group-by version
|
||||||
working-directory: ./ansible_collections/ansible/COLLECTION_NAME
|
working-directory: ./ansible_collections/ansible/utils
|
||||||
|
|
||||||
# See the reports at https://codecov.io/gh/ansible_collections/GITHUBORG/REPONAME
|
# See the reports at https://codecov.io/gh/ansible_collections/GITHUBORG/REPONAME
|
||||||
- uses: codecov/codecov-action@v1
|
- uses: codecov/codecov-action@v1
|
||||||
|
|
Loading…
Reference in New Issue