File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 3030 python-version : ${{ env.python_version }}
3131
3232 - name : Install ansible-core (${{ env.ansible-version }})
33- run : python3 -m pip install ansible-core
33+ run : python3 -m pip install ansible-core pytest pytest-cov pytest-ansible-units pytest-forked pytest-xdist
3434
3535 - name : Read collection metadata from galaxy.yml
3636 id : identify
@@ -54,12 +54,11 @@ jobs:
5454
5555 - name : Run Coverage tests
5656 run : |
57- ansible-test units --python ${{ env.python_version }} --coverage --requirements
58- ansible-test coverage xml
57+ pytest tests -v --cov-report xml --cov=./
5958 working-directory : ${{ steps.identify.outputs.collection_path }}
6059
6160 - name : Upload coverage report to Codecov
6261 uses : codecov/codecov-action@v3
6362 with :
6463 directory : ${{ steps.identify.outputs.collection_path }}
65- fail_ci_if_error : true
64+ fail_ci_if_error : false
You can’t perform that action at this time.
0 commit comments