Skip to content

feat: backend integration and status indicator #12

feat: backend integration and status indicator

feat: backend integration and status indicator #12

Workflow file for this run

name: CI
on:
push:
pull_request:
jobs:
frontend:
name: Frontend Tests
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node-version: [18, 20]
steps:
- name: Checkout code
uses: actions/checkout@v5
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v5
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- name: Install dependencies
run: npm ci
- name: Run ESLint
run: npm run lint
- name: Build application
run: npm run package
backend:
name: Backend Tests
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ["3.10", "3.11", "3.12"]
steps:
- name: Checkout code
uses: actions/checkout@v5
- name: Install uv
uses: astral-sh/setup-uv@v6
with:
version: "0.8.19"
- name: Set up Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}
- name: Install dependencies
working-directory: ./backend
run: uv sync --group dev
- name: Run Python linting
working-directory: ./backend
run: uv run ruff check .
- name: Run Python tests
working-directory: ./backend
run: uv run pytest