We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1fcb030 commit ac27a1dCopy full SHA for ac27a1d
1 file changed
.github/workflows/pr-tests.yml
@@ -22,6 +22,7 @@ jobs:
22
- name: Install Poetry
23
run: |
24
curl -sSL https://install.python-poetry.org | python3 -
25
+ echo "$HOME/.local/bin" >> $GITHUB_PATH
26
export PATH="$HOME/.local/bin:$PATH"
27
28
- name: Install Dependencies
@@ -30,7 +31,14 @@ jobs:
30
31
poetry install
32
pip install pytest
33
34
+ - name: Install Package Locally
35
+ run: |
36
+ poetry build
37
+ pip install dist/*.whl # Install the built package to fix "No module named 'mambular'"
38
+
39
- name: Run Unit Tests
40
+ env:
41
+ PYTHONPATH: ${{ github.workspace }} # Ensure the package is discoverable
42
run: pytest tests/
43
44
- name: Verify Tests Passed
0 commit comments