From d6536456a40ed45c53a45c164a55fa2b4ed976db Mon Sep 17 00:00:00 2001 From: staticdev Date: Tue, 26 Aug 2025 13:02:35 +0200 Subject: [PATCH] Add e2e test instructions --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.md b/README.md index 6910a6b..89a1506 100644 --- a/README.md +++ b/README.md @@ -31,3 +31,22 @@ script/package ``` Upload `.tar.gz` and `.whl` in `dist/` to PyPI. + +## Packaging to test changes + +For E2E testing a Pull Request it may be useful to run locally a change from a fork. + +Pre-requisite: you already cloned the repository following the instructions above. + +1. Generate a package. + + ```sh + cd intents + git remote add username https://github.com/username/intents.git + git fetch username + git checkout branchname # in case you are not using main + cd .. + script/package + ``` + + You should see a new folder `/dist` with two files one `.whl` and one `.tar.gz`.