Skip to content

Commit

Permalink
Moved around poetry install for integration tests (nautobot#425)
Browse files Browse the repository at this point in the history
  • Loading branch information
FragmentedPacket authored Jan 20, 2021
1 parent ecf0e7b commit 1aa0e16
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 .
Expand All @@ -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
Expand Down

0 comments on commit 1aa0e16

Please sign in to comment.