forked from nautobot/nautobot-ansible
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moved around poetry install for integration tests (nautobot#425)
- Loading branch information
1 parent
ecf0e7b
commit 1aa0e16
Showing
1 changed file
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -68,6 +68,12 @@ jobs: | |
docker-compose up -d --quiet-pull | ||
docker container ls | ||
cd .. | ||
- name: Install and configure Poetry | ||
uses: snok/[email protected] | ||
with: | ||
virtualenvs-create: false | ||
- name: Install Python packages | ||
run: poetry install | ||
- name: Build and install collection | ||
run: | | ||
ansible-galaxy collection build . | ||
|
@@ -78,12 +84,6 @@ jobs: | |
docker logs netbox-docker_netbox_1 | ||
timeout 300 bash -c 'while [[ "$(curl -s -o /dev/null -w ''%{http_code}'' localhost:32768)" != "200" ]]; do echo "waiting for Netbox"; sleep 5; done' || false | ||
working-directory: /home/runner/.ansible/collections/ansible_collections/netbox/netbox | ||
- name: Install and configure Poetry | ||
uses: snok/[email protected] | ||
with: | ||
virtualenvs-create: false | ||
- name: Install Python packages | ||
run: poetry install | ||
- name: Pre-populate NetBox | ||
run: ./tests/integration/netbox-deploy.py | ||
working-directory: /home/runner/.ansible/collections/ansible_collections/netbox/netbox | ||
|