feat: add E2E tests with mock Nginx services, update Traefik routing to use service names, and integrate testing into the CI workflow.
All checks were successful
Remote Deployment Pipeline / Prepare Context (pull_request) Successful in 3s
Remote Deployment Pipeline / Deploy (Staging) (pull_request) Has been skipped
Remote Deployment Pipeline / Deploy (Dev/Preview) (pull_request) Successful in 1m15s
Remote Deployment Pipeline / Cleanup Preview (pull_request) Has been skipped
Remote Deployment Pipeline / Deploy (Production) (pull_request) Has been skipped
All checks were successful
Remote Deployment Pipeline / Prepare Context (pull_request) Successful in 3s
Remote Deployment Pipeline / Deploy (Staging) (pull_request) Has been skipped
Remote Deployment Pipeline / Deploy (Dev/Preview) (pull_request) Successful in 1m15s
Remote Deployment Pipeline / Cleanup Preview (pull_request) Has been skipped
Remote Deployment Pipeline / Deploy (Production) (pull_request) Has been skipped
This commit is contained in:
@@ -67,6 +67,15 @@ jobs:
|
||||
cd ${{ needs.prepare_context.outputs.pr_path }}
|
||||
docker compose --env-file dev.env -f docker-compose.yaml up -d --build --remove-orphans
|
||||
|
||||
# Run E2E Tests
|
||||
echo "Running E2E tests..."
|
||||
export CI=true
|
||||
# Create venv to avoid polluting system python
|
||||
python3 -m venv .venv
|
||||
. .venv/bin/activate
|
||||
pip install -r tests/e2e/requirements.txt
|
||||
pytest tests/e2e/
|
||||
|
||||
# ------------------------------------------------------------------
|
||||
# STAGE 3: DEPLOY STAGING
|
||||
# ------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user