diff options
author | Georg Brandl <georg@python.org> | 2022-07-30 11:05:44 +0200 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2022-07-30 12:47:38 +0200 |
commit | 7620ef295ee9ac3ad2723847bc6722b5beec248e (patch) | |
tree | a47a390adfc7d47a7ad6be555f28b095cfb19de1 | |
parent | 53667339e5f32f6d6a3edce7797c815d34395b51 (diff) | |
download | pygments-git-7620ef295ee9ac3ad2723847bc6722b5beec248e.tar.gz |
pytest: only raise warnings as errors in CI
-rw-r--r-- | .github/workflows/build.yaml | 6 | ||||
-rw-r--r-- | pytest.ini | 4 |
2 files changed, 1 insertions, 9 deletions
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 68ade993..dd4e63b7 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -23,11 +23,7 @@ jobs: pip install -r requirements.txt pip install . - name: Test package - run: make test TEST=-v - if: runner.os == 'Linux' - - name: Test package - run: pytest - if: runner.os != 'Linux' + run: pytest -W error check: runs-on: ubuntu-latest diff --git a/pytest.ini b/pytest.ini deleted file mode 100644 index 006b89fd..00000000 --- a/pytest.ini +++ /dev/null @@ -1,4 +0,0 @@ -[pytest] -filterwarnings = - error::FutureWarning - error::DeprecationWarning |