@@ -0,0 +1,27 @@
|
||||
name: Verify
|
||||
on: [push, pull_request]
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-python@v5
|
||||
with: {python-version: '3.12'}
|
||||
- uses: actions/setup-node@v4
|
||||
with: {node-version: '24'}
|
||||
- run: sudo apt-get update && sudo apt-get install -y libcairo2
|
||||
- run: python -m venv .venv && .venv/bin/pip install -r backend/requirements-dev.txt
|
||||
- run: .venv/bin/python scripts/fetch-fixture.py
|
||||
- run: ./scripts/check.sh
|
||||
- run: docker build -t altium-render-engine:local .
|
||||
- run: cp .env.example .env
|
||||
- run: docker compose -p altium-ci up -d --no-build
|
||||
- run: curl --retry 30 --retry-connrefused --retry-delay 1 --fail http://127.0.0.1:8000/healthz
|
||||
- run: .venv/bin/python scripts/smoke.py .runtime/fixtures/Channel.SchDoc
|
||||
env:
|
||||
API_KEY: replace-with-a-long-random-api-key-at-least-32-characters
|
||||
- run: .venv/bin/python scripts/concurrency-smoke.py .runtime/fixtures/Channel.SchDoc
|
||||
env:
|
||||
API_KEY: replace-with-a-long-random-api-key-at-least-32-characters
|
||||
- if: always()
|
||||
run: docker compose -p altium-ci down
|
||||
مرجع در شماره جدید
مسدود کردن کاربر