Skip to content

Commit

Permalink
Update ansible-test.yml
Browse files Browse the repository at this point in the history
Activate unit testing int ansible-test runs
  • Loading branch information
dometto authored May 22, 2024
1 parent add84c2 commit 4609cf3
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/ansible-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,18 @@ jobs:
- python: 3.12
- ansible: stable-2.9
steps:
- uses: actions/checkout@v4
- run: rm -rf docker # prevent dockerfiles from being linted

- name: Perform sanity testing with ansible-test
uses: ansible-community/ansible-test-gh-action@release/v1
with:
ansible-core-version: '${{ matrix.ansible }}'
testing-type: sanity
target-python-version: '${{ matrix.python }}'
pre-test-cmd: rm -rf docker
- name: Perform unit testing with ansible-test
uses: ansible-community/ansible-test-gh-action@release/v1
with:
ansible-core-version: '${{ matrix.ansible }}'
testing-type: unit
target-python-version: '${{ matrix.python }}'

0 comments on commit 4609cf3

Please sign in to comment.