Migrating repo dependency management from poetry
to uv
+ adjusting GHA test
workflow
#673
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |