Skip to content

Commit 311f3ea

Browse files
authored
chore(ci): fix PR test workflow (#45)
This fixes the install path for the PR validation workflow so that it can successfully install a modified Equinix Python SDK from local files before running Ansible collection end-to-end tests. The Metal token environment variable is also updated to match what is expected by the Ansible collection test suite.
2 parents 65acbc2 + 34df412 commit 311f3ea

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ansible-tests-pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
working-directory: .ansible/collections/ansible_collections/equinix/cloud
5656

5757
- name: install cloned Python SDK
58-
run: python3 -m pip install ./equinix_metal
58+
run: python3 -m pip install .
5959

6060

6161
- name: replace existing keys
@@ -66,5 +66,5 @@ jobs:
6666
run: make testall
6767
working-directory: .ansible/collections/ansible_collections/equinix/cloud
6868
env:
69-
METAL_API_TOKEN: ${{ secrets.METAL_API_TOKEN }}
69+
METAL_AUTH_TOKEN: ${{ secrets.METAL_AUTH_TOKEN }}
7070

0 commit comments

Comments
 (0)