Skip to content
Merged

v1 #28

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 56 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: CI

on:
push:
branches:
- "**"
pull_request:
branches:
- "**"

jobs:
backend-tests:
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.11"
cache: "pip"
cache-dependency-path: backend/requirements.txt

- name: Install backend dependencies
run: pip install -r requirements.txt
working-directory: backend

- name: Run backend tests
run: python -m unittest discover -s tests -p "test_*.py"
working-directory: backend

frontend-build:
name: Frontend Build
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
cache: "npm"
cache-dependency-path: frontend/package-lock.json

- name: Install frontend dependencies
run: npm ci
working-directory: frontend

- name: Run frontend build
run: npm run build
working-directory: frontend
322 changes: 0 additions & 322 deletions CODEX.md

This file was deleted.

Loading