Skip to content

Commit

Permalink
Debugging test run in CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
hemang1729 committed Dec 9, 2024
1 parent 0f99d69 commit 046bc79
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/testing_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,18 @@ jobs:
python -m pip install --upgrade pip
pip install poetry
poetry install --with dev
- name: Verify invariant installation
run: |
cd testing
poetry run invariant --help
- name: Set PYTHONPATH
run: echo "PYTHONPATH=$PYTHONPATH:$(pwd)/python" >> $GITHUB_ENV
run: echo "PYTHONPATH=$PYTHONPATH:$(pwd)/testing" >> $GITHUB_ENV
- name: Run tests
env:
OPENAI_API_KEY: ${{ secrets.INVARIANT_TESTING_OPENAI_KEY }}
run: |
cd testing
poetry run pytest --cov=invariant --cov-report=term --cov-fail-under=60 -s -vv tests/
echo "Running tests..."
echo $(pwd)
echo $PYTHONPATH
poetry run pytest --cov=invariant --cov-report=term --cov-fail-under=60 -s -vv tests/test_modes.py

0 comments on commit 046bc79

Please sign in to comment.