Skip to content

Commit

Permalink
Fix packaging test (#4575)
Browse files Browse the repository at this point in the history
* Fix packaging test

The packaging test has not been running since splitting x11 and wayland backends in CI. This PR should address that by adding the backends to test in `tox.ini`.

* Add pre-commit config to manifest
  • Loading branch information
elParaguayo committed Nov 15, 2023
1 parent 302c416 commit 1259b69
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ include LICENSE
include README.rst
include MANIFEST.in
include CONTRIBUTING.md
include .pre-commit-config.yaml

exclude .coveragerc
exclude .pylintrc
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ envlist =
# Python environments with specific backend
py{py3,39,310,311,312}-{x11,wayland}
docs,
packaging,
packaging-{x11,wayland},
# For running pytest locally
test-{x11,wayland,both}

Expand Down Expand Up @@ -102,7 +102,7 @@ commands =
wayland: python -m pytest --backend=wayland {posargs}
both: python -m pytest --backend=wayland --backend=x11 {posargs}

[testenv:packaging]
[testenv:packaging-{x11,wayland}]
deps =
check-manifest
twine
Expand Down

0 comments on commit 1259b69

Please sign in to comment.