Antigravity Agent
Restructure repository: modularize backend and frontend, add docs, Dockerfiles, and notebooks
b4c8af9
Raw
History Blame Contribute Delete
1.01 kB
name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
backend-checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r backend/requirements.txt
pip install ruff pytest
- name: Lint with Ruff
run: |
ruff check backend/app
- name: Test backend
run: |
# Optional: Add tests in backend/tests
echo "No tests found."
frontend-checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Install dependencies
working-directory: ./frontend
run: npm ci
- name: Build frontend
working-directory: ./frontend
run: npm run build