Skip to content

Commit

Permalink
reverting changes to runtestv1.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
johnwroge committed Oct 24, 2024
1 parent 4c2570c commit 8689079
Showing 1 changed file with 1 addition and 19 deletions.
20 changes: 1 addition & 19 deletions .github/workflows/run-tests-v1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ jobs:
run:
shell: bash
working-directory: ./backend
env:
PYTHONPATH: ./
steps:
- uses: actions/checkout@main
with:
Expand All @@ -28,24 +26,8 @@ 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: |
export PYTHONPATH=$PYTHONPATH:$(pwd)
poetry run pytest -v --capture=no
run: poetry run pytest
test-frontend:
runs-on: ubuntu-latest
defaults:
Expand Down

0 comments on commit 8689079

Please sign in to comment.