Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Nuke the tox packaging job
Browse files Browse the repository at this point in the history
It only checks the manifest. Once #11537 lands there won't be a manifest
any more.
  • Loading branch information
David Robertson committed Mar 30, 2022
1 parent 8a519f8 commit d921e5d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 15 deletions.
1 change: 0 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ jobs:
- "check_codestyle"
- "check_isort"
- "mypy"
- "packaging"

steps:
- uses: actions/checkout@v2
Expand Down
7 changes: 2 additions & 5 deletions synapse/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,6 @@

__version__ = "1.55.2"

if bool(os.environ.get("SYNAPSE_TEST_PATCH_LOG_CONTEXTS", False)):
# We import here so that we don't have to install a bunch of deps when
# running the packaging tox test.
from synapse.util.patch_inline_callbacks import do_patch
from synapse.util.patch_inline_callbacks import do_patch

do_patch()
do_patch()
10 changes: 1 addition & 9 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = packaging, py37, py38, py39, py310, check_codestyle, check_isort
envlist = py37, py38, py39, py310, check_codestyle, check_isort

# we require tox>=2.3.2 for the fix to https://github.com/tox-dev/tox/issues/208
minversion = 2.3.2
Expand Down Expand Up @@ -138,14 +138,6 @@ setenv =
commands =
python -m synmark {posargs:}

[testenv:packaging]
skip_install = true
usedevelop = false
deps =
check-manifest
commands =
check-manifest

[testenv:check_codestyle]
extras = lint
commands =
Expand Down

0 comments on commit d921e5d

Please sign in to comment.