Skip to content

Commit

Permalink
CI: Don't turn DeprecationWarning into an error
Browse files Browse the repository at this point in the history
  • Loading branch information
mgeier committed Aug 26, 2023
1 parent f86285c commit 96a0a9b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,12 @@ jobs:
python tests/update_submodules.py
- name: Install Python package
env:
# See https://github.com/pypa/wheel/issues/507:
PYTHONWARNINGS: error,ignore:pkg_resources is deprecated:DeprecationWarning
PYTHONWARNINGS: error,default::DeprecationWarning
run: |
python -m pip install .
- name: Install test dependencies
env:
PYTHONWARNINGS: error,default::DeprecationWarning
run: |
python -m pip install -r tests/requirements.txt
- name: Run pytest
Expand Down

0 comments on commit 96a0a9b

Please sign in to comment.