Spaces:
Runtime error
Runtime error
Download .github/workflows/ci.yml from firebird-technologies/NoteStack-Test: direct link, hf CLI and curl.
- Browser
- Download file 1.54 kB
-
https://huggingface.co/spaces/firebird-technologies/NoteStack-Test/resolve/main/.github/workflows/ci.yml
- Command line
-
hf download hf://spaces/firebird-technologies/NoteStack-Test/.github/workflows/ci.yml
-
curl -L -o ci.yml https://huggingface.co/spaces/firebird-technologies/NoteStack-Test/resolve/main/.github/workflows/ci.yml
1.54 kB
| name: CI | |
| on: [push, pull_request] | |
| jobs: | |
| backend: | |
| if: false # ruff + pytest switched off for now (lint errors); remove this line to re-enable | |
| runs-on: ubuntu-latest | |
| defaults: { run: { working-directory: backend } } | |
| services: | |
| postgres: | |
| image: postgres:16-alpine | |
| env: { POSTGRES_USER: notestack, POSTGRES_PASSWORD: notestack, POSTGRES_DB: notestack_test } | |
| ports: ["5432:5432"] | |
| options: --health-cmd "pg_isready -U notestack" --health-interval 5s --health-retries 10 | |
| env: | |
| TEST_POSTGRES_URL: postgresql+psycopg://notestack:notestack@localhost:5432/notestack_test | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: { python-version: "3.12", cache: pip } | |
| - run: pip install -r requirements.txt | |
| - run: ruff check app tests | |
| # - run: pytest -q | |
| frontend: | |
| runs-on: ubuntu-latest | |
| defaults: { run: { working-directory: frontend } } | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: { node-version: 22, cache: npm, cache-dependency-path: frontend/package-lock.json } | |
| - run: npm ci | |
| - run: npm run check:copy | |
| - run: npm run build | |
| renderer: | |
| runs-on: ubuntu-latest | |
| defaults: { run: { working-directory: renderer } } | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: { node-version: 22, cache: npm, cache-dependency-path: renderer/package-lock.json } | |
| - run: npm ci | |
| - run: npm run typecheck | |