Skip to content

build(deps): Bump the uv group across 4 directories with 2 updates #55

build(deps): Bump the uv group across 4 directories with 2 updates

build(deps): Bump the uv group across 4 directories with 2 updates #55

name: Run tests media-fetching
on:
workflow_dispatch:
pull_request:
branches: [main]
paths:
- 'libs/media-fetching/**'
env:
UV_SYSTEM_PYTHON: 1
jobs:
test-unit:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Setup uv
uses: astral-sh/setup-uv@v5
with:
version: "0.5.4"
enable-cache: true
- name: Install dependencies
run: |
uv pip install pytest pytest-mock
- name: Test media-fetching
run: |
cd libs/media-fetching
uv pip install -e .[all]
pytest tests/unit