Skip to content

Merge pull request #57 from hyeonsangjeon/feat/wave3-hardening #14

Merge pull request #57 from hyeonsangjeon/feat/wave3-hardening

Merge pull request #57 from hyeonsangjeon/feat/wave3-hardening #14

Workflow file for this run

name: CI
on:
pull_request:
branches: [develop]
paths:
- 'backend/**'
- '.github/workflows/ci.yml'
push:
branches: [develop]
paths:
- 'backend/**'
- '.github/workflows/ci.yml'
jobs:
backend-lint-test:
name: Backend Lint & Test
runs-on: ubuntu-latest
defaults:
run:
working-directory: backend
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
cache: 'pip'
cache-dependency-path: backend/requirements.txt
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install ruff pytest pytest-asyncio httpx
- name: Lint with ruff
run: ruff check .
- name: Run tests
run: pytest tests/ -v --tb=short