Skip to content

Migrating repo dependency management from poetry to uv + adjusting GHA test workflow #673

Migrating repo dependency management from poetry to uv + adjusting GHA test workflow

Migrating repo dependency management from poetry to uv + adjusting GHA test workflow #673

Workflow file for this run

name: Test
on: [pull_request]
jobs:
test:
if: ${{ !contains(github.event.pull_request.labels.*.name, 'dnb') }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
python: ["3.10"]
node-version: [16.x]
fail-fast: false
name: Test on ${{ matrix.os }} with Python ${{ matrix.python }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
architecture: x64
python-version: ${{ matrix.python }}
- name: Install uv
run: pip install uv
- name: Install Python dependencies
run: uv pip install -r pyproject.toml
- name: Run Ruff
run: uv run ruff format --check .
- name: Run notebooks
run: uv run python tests/execute_notebooks.py