Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions .github/workflows/python.yml → .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
name: python
name: CI

on: [push, pull_request]

env:
UV_VERSION: "0.6.9"
PYTHON_VERSION: "3.11"

jobs:
test:
Expand Down Expand Up @@ -42,7 +41,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
python-version-file: ".python-version"
- name: Install dependencies
run: uv sync --locked
- name: Test with Nox
Expand All @@ -58,6 +57,6 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
python-version-file: ".python-version"
- name: Validate Lockfile Up-to-date
run: uv lock --check
3 changes: 1 addition & 2 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ on:

env:
UV_VERSION: "0.6.9"
PYTHON_VERSION: "3.11"

jobs:
deploy:
Expand All @@ -22,7 +21,7 @@ jobs:
version: ${{ env.UV_VERSION }}
- uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
python-version-file: ".python-version"
- name: Install dependencies
run: uv sync --locked
- name: Publish Docs
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[![Ruff][ruff-badge]](https://github.com/astral-sh/ruff)
[![Type checked with mypy][mypy-badge]](https://mypy-lang.org/)

[github-actions-badge]: https://github.com/johnthagen/python-blueprint/workflows/python/badge.svg
[github-actions-badge]: https://github.com/johnthagen/python-blueprint/workflows/ci/badge.svg
[uv-badge]: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/uv/main/assets/badge/v0.json
[nox-badge]: https://img.shields.io/badge/%F0%9F%A6%8A-Nox-D85E00.svg
[ruff-badge]: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json
Expand Down Expand Up @@ -210,7 +210,7 @@ installed package to indicate that inline type annotations should be checked.
Continuous integration is provided by [GitHub Actions](https://github.com/features/actions). This
runs all tests, lints, and type checking for every commit and pull request to the repository.

GitHub Actions is configured in [`.github/workflows/python.yml`](./.github/workflows/python.yml).
GitHub Actions is configured in [`.github/workflows/ci.yml`](./.github/workflows/ci.yml).

# Documentation

Expand Down