Skip to content

Commit

Permalink
Stop using ansible-galaxy collection install to install a collection …
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfontein committed Mar 26, 2021
1 parent 98ac815 commit a3b6e7e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ansible-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,10 @@ jobs:
# OPTIONAL If your unit test requires Python libraries from other collections
# Install them like this
- name: Install collection dependencies
#run: ansible-galaxy collection install community.internal_test_tools -p .
run: git clone https://github.com/ansible-collections/community.internal_test_tools.git ansible_collections/community/internal_test_tools
run: git clone --depth=1 --single-branch https://github.com/ansible-collections/community.internal_test_tools.git ansible_collections/community/internal_test_tools
# NOTE: we're installing with git to work around Galaxy being a huge PITA (https://github.com/ansible/galaxy/issues/2429)
# run: ansible-galaxy collection install community.internal_test_tools -p .


# Run the unit tests
- name: Run unit test
Expand Down

0 comments on commit a3b6e7e

Please sign in to comment.