Skip to content

armgit / dspy

Public Imported from GitHub
0

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.yml
index 7b421efde..f383b35ac 100644
--- a/.github/workflows/build_package.yml
+++ b/.github/workflows/build_package.yml
@@ -28,9 +28,6 @@ jobs:
- name: Build
shell: bash
run: poetry build
- - name: Test installing built package
- shell: bash
- run: python -m pip install .
- name: Test import dspy
shell: bash
working-directory: ${{ vars.RUNNER_TEMP }}
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 65c3c9f18..98095b869 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -28,6 +28,15 @@ poetry run pytest
poetry 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 format
Commit message format must be respected, with the following regex: