Skip to content

UV package management and Snowflake logging extras #11

UV package management and Snowflake logging extras

UV package management and Snowflake logging extras #11

Workflow file for this run

name: Tests
on:
pull_request:
paths:
- '.github/workflows/pytest.yml'
- 'pyproject.toml'
- 'uv.lock'
- 'src/**'
- 'tests/**'
jobs:
unit-tests:
name: Unit Tests
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- "3.10"
- "3.11"
- "3.12"
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
# Install uv package manager
- name: Install uv
run: |
python -m pip install --upgrade pip
pip install uv
- name: Install dependencies
run: |
uv sync --frozen --all-extras
- name: Run tests
run: |
uv run pytest tests/ -vv