Skip to content

Commit

Permalink
Debugging api tests
Browse files Browse the repository at this point in the history
  • Loading branch information
johnwroge committed Oct 24, 2024
1 parent ffecfd5 commit 47339fa
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/run-tests-v1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,23 @@ jobs:
cache: "poetry"
- name: Install API Dependencies
run: poetry install --with test
# New debugging step added here
- name: Debug environment
run: |
echo "Current directory: $(pwd)"
echo "Directory contents:"
ls -la
echo "Python path:"
poetry run python -c "import sys; print('\n'.join(sys.path))"
echo "Poetry environment info:"
poetry env info
# - name: Run tests
#run: poetry run pytest
# Modified test step to include PYTHONPATH
- name: Run tests
run: poetry run pytest
run: |
export PYTHONPATH=$PYTHONPATH:$(pwd)
poetry run pytest -v --capture=no
test-frontend:
runs-on: ubuntu-latest
defaults:
Expand Down

0 comments on commit 47339fa

Please sign in to comment.