Skip to content

Replace project root poetry with uv #798

Replace project root poetry with uv

Replace project root poetry with uv #798

Workflow file for this run

name: New commit pushed and receive pull request
on:
pull_request:
push:
workflow_dispatch:
inputs:
git_rev:
description: 'git revision'
required: false
default: ''
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: "${{ github.event.inputs.git_rev }}"
- name: Install the latest version of uv
uses: astral-sh/setup-uv@v3
with:
enable-cache: true
version: "latest"
- name: Install dependencies
run: |
uv --version
uv sync --no-group doc
- name: Run pre-commit hooks
run: |
SKIP=no-commit-to-branch,commitizen-branch uv run inv run-pre-commit-hooks
- name: Run slow tests
run: |
uv run inv test --run-slow-tests