Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
swh-deposit
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
Antoine R. Dumont
swh-deposit
Commits
bd280d0c
Commit
bd280d0c
authored
2 years ago
by
Jérémy Bobbio (Lunar)
Committed by
Jérémy Bobbio (Lunar)
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Update and clean tox configuration for version 4
Related to
swh/meta#4959
parent
c553eccd
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tox.ini
+5
-6
5 additions, 6 deletions
tox.ini
with
5 additions
and
6 deletions
tox.ini
+
5
−
6
View file @
bd280d0c
[tox]
[tox]
requires
=
tox>4
envlist
=
flake8,mypy,py3-django2,py3-django3
envlist
=
flake8,mypy,py3-django2,py3-django3
[testenv]
[testenv]
...
@@ -49,14 +51,13 @@ commands =
...
@@ -49,14 +51,13 @@ commands =
# git HEAD of swh-docs, is executed on CI for each diff to prevent
# git HEAD of swh-docs, is executed on CI for each diff to prevent
# breaking doc build
# breaking doc build
[testenv:sphinx]
[testenv:sphinx]
white
list_externals
=
make
allow
list_externals
=
make
usedevelop
=
true
usedevelop
=
true
extras
=
extras
=
testing
testing
deps
=
deps
=
# fetch and install swh-docs in develop mode
# fetch and install swh-docs in develop mode
-e
git+https://forge.softwareheritage.org/source/swh-docs
#egg=swh.docs
-e
git+https://gitlab.softwareheritage.org/swh/devel/swh-docs.git\
#egg=swh.docs
setenv
=
setenv
=
SWH_PACKAGE_DOC_TOX_BUILD
=
1
SWH_PACKAGE_DOC_TOX_BUILD
=
1
# turn warnings into errors
# turn warnings into errors
...
@@ -64,18 +65,16 @@ setenv =
...
@@ -64,18 +65,16 @@ setenv =
commands
=
commands
=
make
-I
../.tox/sphinx/src/swh-docs/swh/
-C
docs
make
-I
../.tox/sphinx/src/swh-docs/swh/
-C
docs
# build documentation only inside swh-environment using local state
# build documentation only inside swh-environment using local state
# of swh-docs package
# of swh-docs package
[testenv:sphinx-dev]
[testenv:sphinx-dev]
white
list_externals
=
make
allow
list_externals
=
make
usedevelop
=
true
usedevelop
=
true
extras
=
extras
=
testing
testing
deps
=
deps
=
# install swh-docs in develop mode
# install swh-docs in develop mode
-e
../swh-docs
-e
../swh-docs
setenv
=
setenv
=
SWH_PACKAGE_DOC_TOX_BUILD
=
1
SWH_PACKAGE_DOC_TOX_BUILD
=
1
# turn warnings into errors
# turn warnings into errors
...
...
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