Skip to content

Add Charlotte category with 60 questions: Finance, Home Cooking, and … #5

Add Charlotte category with 60 questions: Finance, Home Cooking, and …

Add Charlotte category with 60 questions: Finance, Home Cooking, and … #5

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
jobs:
backend:
name: Backend Tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: "pip"
cache-dependency-path: requirements.txt
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run backend tests
run: pytest tests/ -q
frontend:
name: Frontend Lint Build Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "22"
cache: "npm"
cache-dependency-path: frontend/package-lock.json
- name: Install dependencies
working-directory: frontend
run: npm ci
- name: Lint
working-directory: frontend
run: npm run lint
- name: Build
working-directory: frontend
run: npm run build
- name: Test
working-directory: frontend
run: npm run test:run