Skip to content

Commit

Permalink
ci: suppress static-value warnings during GitHub Actions unit test wo…
Browse files Browse the repository at this point in the history
…rkflow (#1335)
  • Loading branch information
jayaddison authored Oct 25, 2024
1 parent 86a3415 commit 5c23c29
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/unittests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,6 @@ jobs:
- name: Install dependencies
run: python -m pip install .[dev]
- name: Run Tests
env:
PYTHONWARNINGS: "always:::recipe_scrapers,ignore:::recipe_scrapers.plugins.static_values"
run: python -m unittest
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ isolated_build = true

[testenv]
extras = dev
passenv = PYTHONWARNINGS
commands = coverage run -m unittest {posargs}

# The system-provided libxml2 on MacOS is typically outdated and this can lead to lxml parsing issues
Expand Down

0 comments on commit 5c23c29

Please sign in to comment.