From 76692b32e31f43724fd3f98a1f07c9f5a7af3e6d Mon Sep 17 00:00:00 2001 From: "Luke W. Johnston" Date: Thu, 14 Nov 2024 11:19:04 +0100 Subject: [PATCH 1/2] build: :hammer: very small updates to the justfile recipes --- justfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/justfile b/justfile index 027e269..fd1c16b 100644 --- a/justfile +++ b/justfile @@ -1,7 +1,8 @@ @_default: just --list --unsorted -run-all: install-deps format-python check-python run-tests check-commits build-website +# Run all the build recipes +run-all: reset-local install-deps format-python check-python test-python check-commits build-website # Install Python package dependencies install-deps: @@ -15,8 +16,8 @@ generate-puml-all: generate-puml name: docker run --rm -v $(pwd):/puml -w /puml ghcr.io/plantuml/plantuml:latest -tsvg "**/{{name}}.puml" -# Run Python tests -run-tests: +# Run the Python tests +test-python: poetry run pytest # Check Python code with the linter for any errors that need manual attention From 0a4ec22b536458a1a5508350664c49241ae55f95 Mon Sep 17 00:00:00 2001 From: "Luke W. Johnston" Date: Thu, 14 Nov 2024 11:19:41 +0100 Subject: [PATCH 2/2] chore: :technologist: simplify PR template to explain running `just run-all` --- .github/pull_request_template.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 3c5e62a..aae8dd8 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -10,7 +10,5 @@ This PR needs a quick/an in-depth review. ## Checklist - [ ] Added or updated tests -- [ ] Tests passed locally -- [ ] Linted and formatted code -- [ ] Build passed locally - [ ] Updated documentation +- [ ] Ran `just run-all`