Skip to content

Commit

Permalink
Set PYTHONWARNINGS to error
Browse files Browse the repository at this point in the history
  • Loading branch information
gilch committed May 26, 2023
1 parent 2359463 commit 1c125a1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/test-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ jobs:
python -m pip install --upgrade pip
pip install -r requirements-dev.txt
- name: Test install with pytest (including doctests)
env:
PYTHONWARNINGS: error
run: |
python -c "import tests" # Compiles hissp.basic on package import.
pytest -v --cov=hissp --cov-report=xml --doctest-modules --doctest-glob *.md src/hissp/*.lissp tests/ docs/ $(python -c "import hissp; print(hissp.__path__[0])")
Expand Down

0 comments on commit 1c125a1

Please sign in to comment.