remove live tests from github runner

This commit is contained in:
seniorswe
2025-12-12 23:34:44 -05:00
parent 834723cbfe
commit c61d9447fb

View File

@@ -40,45 +40,6 @@ jobs:
ALLOWED_ORIGINS: http://localhost:3000
working-directory: backend-services
run: pytest -q tests
- name: Start Doorman server for live-tests
env:
PORT: '3001'
THREADS: '1'
ENV: 'development'
MEM_OR_EXTERNAL: MEM
HTTPS_ONLY: 'false'
STRICT_RESPONSE_ENVELOPE: 'false'
JWT_SECRET_KEY: test-secret-key-please-change
DOORMAN_ADMIN_EMAIL: admin@doorman.dev
DOORMAN_ADMIN_PASSWORD: test-only-password-12chars
MEM_ENCRYPTION_KEY: unit-test-key-32chars-abcdef123456!!
ALLOWED_HEADERS: '*'
ALLOW_HEADERS: '*'
ALLOW_METHODS: '*'
ALLOWED_ORIGINS: http://localhost:3000
LOGIN_IP_RATE_LIMIT: '1000000'
LOGIN_IP_RATE_WINDOW: '60'
run: |
python backend-services/doorman.py start
for i in {1..60}; do
if curl -fsS http://localhost:3001/platform/monitor/liveness > /dev/null 2>&1; then
echo "Doorman is live"; break
fi
sleep 1
done
- name: Run backend-services live-tests
env:
DOORMAN_BASE_URL: http://localhost:3001
DOORMAN_ADMIN_EMAIL: admin@doorman.dev
DOORMAN_ADMIN_PASSWORD: test-only-password-12chars
working-directory: backend-services
run: pytest -q live-tests
- name: Stop Doorman server
if: always()
run: |
if [ -f backend-services/doorman.pid ]; then
kill $(cat backend-services/doorman.pid) || true
fi
frontend-build:
runs-on: ubuntu-latest