diff --git a/.github/workflows/pdp_cicd.yml b/.github/workflows/pdp_cicd.yml index 22abf573..2eb64747 100644 --- a/.github/workflows/pdp_cicd.yml +++ b/.github/workflows/pdp_cicd.yml @@ -51,9 +51,19 @@ jobs: path: './permit-backend' token: ${{ secrets.CLONE_REPO_TOKEN }} + - name: Python setup + uses: actions/setup-python@v5 + with: + python-version: '3.11.8' + + - 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 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