Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
synapse
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Maunium
synapse
Commits
1d5c021a
Unverified
Commit
1d5c021a
authored
4 years ago
by
Richard van der Hoff
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
tox: Add a -noextras factor (#9030)
... for running the tests with no optional deps.
parent
8d3d2640
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
changelog.d/9030.misc
+1
-0
1 addition, 0 deletions
changelog.d/9030.misc
tox.ini
+6
-2
6 additions, 2 deletions
tox.ini
with
7 additions
and
2 deletions
changelog.d/9030.misc
0 → 100644
+
1
−
0
View file @
1d5c021a
Add a `-noextras` factor to `tox.ini`, to support running the tests with no optional dependencies.
This diff is collapsed.
Click to expand it.
tox.ini
+
6
−
2
View file @
1d5c021a
...
@@ -2,7 +2,6 @@
...
@@ -2,7 +2,6 @@
envlist
=
packaging, py35, py36, py37, py38, py39, check_codestyle, check_isort
envlist
=
packaging, py35, py36, py37, py38, py39, check_codestyle, check_isort
[base]
[base]
extras
=
test
deps
=
deps
=
python-subunit
python-subunit
junitxml
junitxml
...
@@ -25,10 +24,15 @@ deps =
...
@@ -25,10 +24,15 @@ deps =
# install the "enum34" dependency of cryptography.
# install the "enum34" dependency of cryptography.
pip>=10
pip>=10
# default settings for all tox environments
[testenv]
[testenv]
deps
=
deps
=
{
[base]
deps}
{
[base]
deps}
extras
=
all, test
extras
=
# install the optional dependendencies for tox environments without
# '-noextras' in their name
!noextras:
all
test
setenv
=
setenv
=
# use a postgres db for tox environments with "-postgres" in the name
# use a postgres db for tox environments with "-postgres" in the name
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment