Skip to content

Commit

Permalink
Update code-coverage.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ArunSaravananBalachandran authored Jan 31, 2024
1 parent 1885e7b commit af0a4f4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/code-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
python-version: ${{ env.python-version }}

- name: Install ansible-core (${{ env.ansible-version }})
run: python3 -m pip install ansible-core pytest pytest-cov pytest-ansible-units pytest-forked pytest-xdist
run: python3 -m pip install ansible-core

- name: Read collection metadata from galaxy.yml
id: identify
Expand All @@ -50,7 +50,5 @@ jobs:
run: python3 -m pip list

- name: Run code coverage tests
run: |
ansible-test units --python 3.10 --coverage --requirements
ansible-test coverage report
run: pytest tests -v --cov-report term --cov=./
working-directory: ${{ steps.identify.outputs.collection_path }}

0 comments on commit af0a4f4

Please sign in to comment.