File tree 1 file changed +3
-4
lines changed
1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 30
30
python-version : ${{ env.python_version }}
31
31
32
32
- 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
34
34
35
35
- name : Read collection metadata from galaxy.yml
36
36
id : identify
@@ -54,12 +54,11 @@ jobs:
54
54
55
55
- name : Run Coverage tests
56
56
run : |
57
- ansible-test units --python ${{ env.python_version }} --coverage --requirements
58
- ansible-test coverage xml
57
+ pytest tests -v --cov-report xml --cov=./
59
58
working-directory : ${{ steps.identify.outputs.collection_path }}
60
59
61
60
- name : Upload coverage report to Codecov
62
61
uses : codecov/codecov-action@v3
63
62
with :
64
63
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