From 8400a99b156e58d67b18ab35c45d18dc95ad4321 Mon Sep 17 00:00:00 2001 From: Tomas Karasek Date: Mon, 15 Jan 2024 14:51:51 +0200 Subject: [PATCH] fix: fixes in GH action for integration test --- .github/workflows/ansible-tests-pr.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ansible-tests-pr.yml b/.github/workflows/ansible-tests-pr.yml index 10348592..18e12925 100644 --- a/.github/workflows/ansible-tests-pr.yml +++ b/.github/workflows/ansible-tests-pr.yml @@ -27,9 +27,6 @@ jobs: integration-test-pr: needs: authorize runs-on: ubuntu-latest - defaults: - run: - working-directory: .ansible/collections/ansible_collections/equinix/cloud steps: - name: checkout Ansible collection uses: actions/checkout@v4 @@ -64,10 +61,12 @@ jobs: ref: ${{ github.event.pull_request.head.sha || github.ref }} - name: install cloned Python SDK - run: python -m pip install metal-python/equinix_metal + run: python3 -m pip install equinix_metal + working-directory: metal-python - name: run tests run: make testall + working-directory: .ansible/collections/ansible_collections/equinix/cloud env: METAL_API_TOKEN: ${{ secrets.METAL_API_TOKEN }}