From c9126f7fda98378b9f8e1ef53d927b4106ac38c7 Mon Sep 17 00:00:00 2001 From: gilch Date: Thu, 25 May 2023 21:34:25 -0600 Subject: [PATCH] Set PYTHONWARNINGS to error --- .github/workflows/test-package.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/test-package.yml b/.github/workflows/test-package.yml index 9e7ad0b1..cf170eb7 100644 --- a/.github/workflows/test-package.yml +++ b/.github/workflows/test-package.yml @@ -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 -p no:cacheprovider -v --cov=hissp --cov-report=xml --doctest-modules --doctest-glob *.md src/hissp/*.lissp tests/ docs/ $(python -c "import hissp; print(hissp.__path__[0])")