Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
setuptools
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jérome Perrin
setuptools
Commits
53d1343e
Commit
53d1343e
authored
Jan 14, 2020
by
Sviatoslav Sydorenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Support PyPy2
parent
f8af062c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
.github/workflows/python-tests.yml
.github/workflows/python-tests.yml
+2
-2
tox.ini
tox.ini
+1
-1
No files found.
.github/workflows/python-tests.yml
View file @
53d1343e
...
...
@@ -77,13 +77,13 @@ jobs:
-
name
:
'
Initialize
tox
envs:
${{
matrix.env.TOXENV
}}'
run
:
|
${{ startsWith(matrix.os, 'windows-') && 'setx TOXENV ' || 'export TOXENV=' }}${{ ('2.7' == matrix.python-version
|| 'pypy2' == matrix.python-version) && 'py27'
|| '$TOXENV' }}
${{ startsWith(matrix.os, 'windows-') && 'setx TOXENV ' || 'export TOXENV=' }}${{ ('2.7' == matrix.python-version
&& 'py27') || ('pypy2' == matrix.python-version && 'pypy2')
|| '$TOXENV' }}
python -m tox --parallel auto --notest --skip-missing-interpreters false
env
:
${{ matrix.env }}
-
name
:
Test with tox
run
:
|
${{ startsWith(matrix.os, 'windows-') && 'setx NETWORK_REQUIRED ' || 'export NETWORK_REQUIRED=' }}1
${{ startsWith(matrix.os, 'windows-') && 'setx TOXENV ' || 'export TOXENV=' }}${{ ('2.7' == matrix.python-version
|| 'pypy2' == matrix.python-version) && 'py27'
|| '$TOXENV' }}
${{ startsWith(matrix.os, 'windows-') && 'setx TOXENV ' || 'export TOXENV=' }}${{ ('2.7' == matrix.python-version
&& 'py27') || ('pypy2' == matrix.python-version && 'pypy2')
|| '$TOXENV' }}
python -m tox \
--parallel 0 \
-- \
...
...
tox.ini
View file @
53d1343e
...
...
@@ -19,7 +19,7 @@ install_command = {[helpers]pip} install {opts} {packages}
list_dependencies_command
=
{[helpers]pip} freeze --all
setenv
=
COVERAGE_FILE
=
{toxworkdir}/.coverage.{envname}
py
27
:
PIP_IGNORE_REQUIRES_PYTHON
=
true
py
{27,py2}
:
PIP_IGNORE_REQUIRES_PYTHON
=
true
# TODO: The passed environment variables came from copying other tox.ini files
# These should probably be individually annotated to explain what needs them.
passenv
=
APPDATA HOMEDRIVE HOMEPATH windir APPVEYOR APPVEYOR_* CI CODECOV_* TRAVIS TRAVIS_* NETWORK_REQUIRED
...
...
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