Skip to content

src/runner.py: log exception explicitly #8

src/runner.py: log exception explicitly

src/runner.py: log exception explicitly #8

name: Lint and Test
on:
pull_request:
push:
branches: [main]
jobs:
lint-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Install test dependencies
run: |
python -m pip install --upgrade pip
pip install uv
uv venv --python=3.12 .venv
source .venv/bin/activate
uv pip sync requirements-test.txt
- name: Test with pytest
run: |
.venv/bin/pytest .
- name: Install linting dependencies
run: |
source .venv/bin/activate
uv pip sync requirements-dev.txt
- name: Lint
run: |
.venv/bin/pre-commit run -a