Skip to content

Commit

Permalink
Fix Unit test to copy compat dir from ansible repository.
Browse files Browse the repository at this point in the history
  • Loading branch information
JkhatriInfobox committed Nov 29, 2023
1 parent 6440c52 commit 1ed9b0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ansible-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
- name: Setup Unit test Pre-requisites
run: |
ansible-galaxy collection install .cache/collection-tarballs/*.tar.gz
git clone https://github.com/ansible/ansible.git
git clone https://github.com/ansible/ansible.git -b ${{ matrix.ansible-version }}
cp -rf ansible/test/units/compat /home/runner/.ansible/collections/ansible_collections/infoblox/nios_modules/tests/unit/
cp -rf ansible/test/units/modules/utils.py /home/runner/.ansible/collections/ansible_collections/infoblox/nios_modules/tests/unit/plugins/modules/
sed -i 's/units/ansible_collections.infoblox.nios_modules.tests.unit/' /home/runner/.ansible/collections/ansible_collections/infoblox/nios_modules/tests/unit/plugins/modules/utils.py
Expand Down

0 comments on commit 1ed9b0d

Please sign in to comment.