Remove legacy json policy and stay with cedar only #104
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # CI for the traefik-authproxy service (Python 3.13, FastAPI). | |
| # Runs the pytest suite and validates the Docker image builds. | |
| name: Labs64.IO - API Gateway - CI | |
| permissions: | |
| contents: read | |
| on: | |
| push: | |
| branches: [ "master" ] | |
| pull_request: | |
| branches: [ "master" ] | |
| workflow_dispatch: | |
| concurrency: | |
| group: gateway-ci-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: traefik-authproxy | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.13' | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -r requirements.txt | |
| pip install pytest | |
| - name: Run tests | |
| run: pytest -v | |
| - name: Build the Docker image | |
| run: docker build . --file Dockerfile --tag traefik-authproxy:ci-${{ github.sha }} |