Skip to content

Bump the uv group across 1 directory with 5 updates #228

Bump the uv group across 1 directory with 5 updates

Bump the uv group across 1 directory with 5 updates #228

name: "lint, format and test after push"
concurrency:
group: "pygeoapi-k8s-manager-push-lint-and-test"
cancel-in-progress: true
on:
# all pushes and PRs, but not tags
push:
branches: ['**']
tags-ignore: ['**']
pull_request:
jobs:
lint-format-and-test:
runs-on: ubuntu-latest
timeout-minutes: 2
steps:
-
name: Checkout Repository
uses: actions/checkout@v7
-
name: Install uv
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
-
name: Set up Python
run: uv python install
-
name: Install the project
run: uv sync --locked --all-extras --dev
-
name: run linter and formatter
run: |
uv run ruff check
uv run ruff check --select I
uv run ruff format --diff
-
name: run tests
run: |
uv run pytest tests/ --cov=src/pygeoapi_k8s_manager --cov-report=term-missing