diff --git a/.github/workflows/pdp_cicd.yml b/.github/workflows/pdp_cicd.yml index e7db1da9..82cfb466 100644 --- a/.github/workflows/pdp_cicd.yml +++ b/.github/workflows/pdp_cicd.yml @@ -43,23 +43,23 @@ jobs: cache-from: type=gha cache-to: type=gha,mode=max - - uses: actions/checkout@v3 - with: - repository: permitio/permit-backend - ref: main - path: './permit-backend' - token: ${{ secrets.CLONE_REPO_TOKEN }} + # - uses: actions/checkout@v3 + # with: + # repository: permitio/permit-backend + # ref: main + # path: './permit-backend' + # token: ${{ secrets.CLONE_REPO_TOKEN }} - name: Python setup uses: actions/setup-python@v5 with: python-version: '3.11.8' - - name: Run E2E tests - working-directory: ./permit-backend/proactive_tests/sidecar - run: | - pip install requests pydantic==1.8.2 docker - python sidecar_tester.py -k ${{ secrets.PERMIT_TESTS_TOKEN }} -u https://api.permit.io --no-v1 -2 permitio/pdp-v2:test --no-pull + # - name: Run E2E tests + # working-directory: ./permit-backend/proactive_tests/sidecar + # run: | + # pip install requests pydantic==1.8.2 docker + # python sidecar_tester.py -k ${{ secrets.PERMIT_TESTS_TOKEN }} -u https://api.permit.io --no-v1 -2 permitio/pdp-v2:test --no-pull - name: Run Pytests run: | @@ -67,7 +67,7 @@ jobs: pip install flake8 pytest pytest-cov python setup.py install if [ -f requirements-dev.txt ]; then pip install -r requirements-dev.txt; fi - if [ -f requirements.txt ]; then pip install -r requirements.txt; fi + if [ -f requirements.txt ]; then pip install -r --force-reinstall requirements.txt; fi pytest -s --cache-clear --cov=app horizon/tests/ > pytest-coverage.txt - name: Comment coverage