test(project-root): improve testing message #797
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: 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 |