Big-Link-Man/.github/workflows/ci.yml

35 lines
696 B
YAML

name: CI Pipeline
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install UV
run: pip install uv
- name: Install dependencies
run: uv pip install --system -r requirements.txt
- name: Run unit tests
run: python -m pytest tests/unit/ -v
- name: Run integration tests
run: python -m pytest tests/integration/ -v