Skip to content

feat: add vercel app #6

feat: add vercel app

feat: add vercel app #6

Workflow file for this run

name: Test
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch: {}
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: "pip"
- name: Install package + dev deps
run: |
python -m pip install --upgrade pip
pip install -e ".[dev]"
- name: Lint (ruff)
run: ruff check src tests
- name: Run tests
env:
STRATA_TEST_DB: "sqlite:///./strata-test.sqlite"
run: pytest --cov
- name: Upload coverage report (artifact)
if: always()
uses: actions/upload-artifact@v4
with:
name: coverage
path: |
.coverage
htmlcov/
if-no-files-found: ignore