From 6ebe8a3f748c893577eabcbddd83bcbd8badef04 Mon Sep 17 00:00:00 2001 From: laluka Date: Wed, 6 Mar 2024 18:59:06 +0100 Subject: [PATCH] update mise toml config, add tox run cmd in doc --- .tool-versions | 2 +- CONTRIBUTING.md | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.tool-versions b/.tool-versions index 2d548c7..e268647 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,3 +1,3 @@ -python 3.12.2 +python 3.12 3.11 3.10 3.9 3.8 direnv 2.32.2 pdm 2.12.2 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index afa98cf..ea5c7c9 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -7,6 +7,9 @@ Note: This file is a work in progress. ```bash # Code Cleanup pre-commit run --all-files +# Run tox tests +export PATH="$HOME/.local/share/mise/shims:$PATH" +pdm run tox run-parallel # Ensure no regression is pushed bypass-url-parser -S 0 -v -u http://127.0.0.1:8000/foo/bar --dump-payloads > "tests-history/bup-payloads-$(date +'%Y-%m-%d').lst" # Compare /tmp/bup-payloads-YYYY-MM-DD.lst and the latest tests-history/bup-payloads-YYYY-MM-DD.lst