Skip to content

feat(web): Vigil editorial landing + GitHub Pages deploy workflow #6

feat(web): Vigil editorial landing + GitHub Pages deploy workflow

feat(web): Vigil editorial landing + GitHub Pages deploy workflow #6

Workflow file for this run

name: tests
on:
push:
branches: [main]
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: pip
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install numpy "opencv-python-headless>=4.5" pytest pytest-cov ruff
- name: Install package (no audio/landmark extras for tests)
run: pip install -e .
- name: Lint
run: ruff check drowsiness tests
- name: Run tests
run: pytest --cov=drowsiness --cov-report=term-missing