DSPy: The framework for programming—not prompting—language models
Python
Remove test installing built package with req.txt and add instructions for testing CI actions locally
Isaac Miller808debf8378b
diff --git a/.github/workflows/build_package.yml b/.github/workflows/build_package.ymlindex 7b421efde..f383b35ac 100644--- a/.github/workflows/build_package.yml+++ b/.github/workflows/build_package.yml@@ -28,9 +28,6 @@ jobs:- name: Buildshell: bashrun: poetry build- - name: Test installing built package- shell: bash- run: python -m pip install .- name: Test import dspyshell: bashworking-directory: ${{ vars.RUNNER_TEMP }}diff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex 65c3c9f18..98095b869 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -28,6 +28,15 @@ poetry run pytestpoetry run pytest tests/PATH_TO_TEST_SUITE```+If you are changing CI actions, you can use the [act](https://nektosact.com/introduction.html) tool to test the CI locally.++Example for testing the push action:+You may need the `--container-architecture linux/amd64` flag if you are on an M1/2 mac.++```bash+ act push+```+## Commit Message formatCommit message format must be respected, with the following regex: