Skip to content

use formatting for ref parameter #6

use formatting for ref parameter

use formatting for ref parameter #6

Workflow file for this run

name: Python application
on:
push:
branches:
- '**' # This will run the workflow for any push to any branch
jobs:
pytest:
env:
UV_CACHE_DIR: /tmp/.uv-cache
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v3
- name: "Set up Python"
uses: actions/setup-python@v5
with:
python-version-file: "pyproject.toml"
- name: Restore uv cache
uses: actions/cache@v4
with:
path: /tmp/.uv-cache
key: uv-${{ runner.os }}-${{ hashFiles('uv.lock') }}
restore-keys: |
uv-${{ runner.os }}-${{ hashFiles('uv.lock') }}
uv-${{ runner.os }}
- name: Install the project
run: uv sync --all-extras --dev
- name: Minimize uv cache
run: uv cache prune --ci
- name: Run tests
run: uv run pytest tests