From 1c3b117c4db45bf16360d083b5f8384f5ba71eaf Mon Sep 17 00:00:00 2001 From: elimoshkovich Date: Wed, 10 Apr 2024 15:01:17 -0700 Subject: [PATCH] check8 --- .github/workflows/pdp_cicd.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pdp_cicd.yml b/.github/workflows/pdp_cicd.yml index f6a0861e..2ccf97fa 100644 --- a/.github/workflows/pdp_cicd.yml +++ b/.github/workflows/pdp_cicd.yml @@ -33,7 +33,6 @@ jobs: find * -name '*go*' -print0 | xargs -0 tar -czf "$build_root"/custom/custom_opa.tar.gz --exclude '.*' - name: Build and load image for PDP tests - if: "!github.event.release.prerelease" uses: docker/build-push-action@v5 with: push: false @@ -56,12 +55,15 @@ jobs: with: python-version: '3.11.8' - # - name: Install Docker - # uses: docker-practice/actions-setup-docker@master + - name: Install Docker + uses: docker-practice/actions-setup-docker@master - name: Run PDP tests working-directory: ./permit-backend/proactive_tests/sidecar run: | + python -m pip install --upgrade pip + pip install flake8 pytest pytest-cov + pip install requests python sidecar_tester.py -k ${{ secrets.PERMIT_TESTS_TOKEN }} -u https://api.permit.io --no-v1 -2 permitio/pdp-v2:test --no-pull #docker run -p 7766:7000 --env PDP_API_KEY=permit_key_VG0tFLP8PEYcWb3I6oK2InXzmVwlD5VKObp6nDdEDICUBEg55p2Yvr625dleiTgcQdzRS6oofLcLZWUwNCvTYA --env PDP_DEBUG=true permitio/pdp-v2:test