Skip to content

Commit 1aa0e16

Browse files
Moved around poetry install for integration tests (#425)
1 parent ecf0e7b commit 1aa0e16

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,12 @@ jobs:
6868
docker-compose up -d --quiet-pull
6969
docker container ls
7070
cd ..
71+
- name: Install and configure Poetry
72+
uses: snok/install-poetry@v1.1.1
73+
with:
74+
virtualenvs-create: false
75+
- name: Install Python packages
76+
run: poetry install
7177
- name: Build and install collection
7278
run: |
7379
ansible-galaxy collection build .
@@ -78,12 +84,6 @@ jobs:
7884
docker logs netbox-docker_netbox_1
7985
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
8086
working-directory: /home/runner/.ansible/collections/ansible_collections/netbox/netbox
81-
- name: Install and configure Poetry
82-
uses: snok/install-poetry@v1.1.1
83-
with:
84-
virtualenvs-create: false
85-
- name: Install Python packages
86-
run: poetry install
8787
- name: Pre-populate NetBox
8888
run: ./tests/integration/netbox-deploy.py
8989
working-directory: /home/runner/.ansible/collections/ansible_collections/netbox/netbox

0 commit comments

Comments
 (0)