Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
galumph
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
30
Issues
30
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
grp-svergun
galumph
Commits
a465dbcf
Verified
Commit
a465dbcf
authored
May 26, 2020
by
Chris Kerr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a tox test using twine to check the setup.py metadata
parent
0acfeebe
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
+12
-2
.gitlab-ci.yml
.gitlab-ci.yml
+1
-1
tox.ini
tox.ini
+11
-1
No files found.
.gitlab-ci.yml
View file @
a465dbcf
...
...
@@ -56,4 +56,4 @@ test_lint:
before_script
:
-
pip install tox
script
:
-
tox -e flake8,reuse
-
tox -e flake8,reuse
,twine
tox.ini
View file @
a465dbcf
...
...
@@ -7,7 +7,7 @@
# List Python 3.7 by default as that is the version installed on Debian 10
# Developers on other systems should set the TOXENV environment
# variable to the Python versions on their system
envlist
=
py37,flake8,reuse
envlist
=
py37,flake8,reuse
,twine
[testenv]
# Use the system packages for pyopencl, numpy, scipy etc
...
...
@@ -45,6 +45,16 @@ deps =
commands
=
reuse
lint
[testenv:twine]
basepython
=
python3
skip_install
=
true
skipsdist
=
false
sitepackages
=
false
deps
=
twine
commands
=
twine
check
{distdir}/*
# Additional configuration for non-tox tools
[flake8]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment