Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gevent
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gevent
Commits
fc8f270a
Commit
fc8f270a
authored
Nov 24, 2020
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More coverage and retries.
parent
01ac47b0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
4 deletions
+9
-4
.coveragerc
.coveragerc
+2
-1
.github/workflows/ci.yml
.github/workflows/ci.yml
+7
-3
No files found.
.coveragerc
View file @
fc8f270a
...
...
@@ -25,7 +25,8 @@ omit =
*/gevent/resolver/*.so
# New in 5.0; required for the GHA coveralls submission.
# Perhaps this obsoletes the source section in [paths]?
relative_files = True
# XXX: Nope, that just led to reporting 0% coverage.
#relative_files = True
[report]
# Coverage is run on Linux under cPython 2/3 and pypy
...
...
.github/workflows/ci.yml
View file @
fc8f270a
...
...
@@ -186,14 +186,17 @@ jobs:
run
:
|
# Next, build the wheel *in place*. This helps ccache, and also lets us cache the configure
# output (pip install uses a random temporary directory, making this difficult)
python setup.py build_ext -i
python setup.py bdist_wheel
-
name
:
Check gevent build
run
:
|
ls -l dist
twine check dist/*
-
name
:
Install gevent
# I'd prefer to install the wheel in non-editable mode, but that seems to
# screw up coverage reporting.
run
:
|
pip install -U -
-no-compile `ls dist/*whl`
[test]
pip install -U -
e .
[test]
-
name
:
Report environment details
run
:
|
python --version
...
...
@@ -264,16 +267,17 @@ jobs:
run
:
|
python -mgevent.tests --coverage || python -m gevent.tests
-
name
:
"
Tests:
libuv"
if
:
(matrix.python-version == 2.7 || matrix.python-version == 3.9)
env
:
GEVENT_LOOP
:
libuv
run
:
|
python -m gevent.tests $G_USE_COV
python -m gevent.tests $G_USE_COV
|| python -m gevent.tests
-
name
:
"
Tests:
libev-cffi"
if
:
(matrix.python-version == 2.7 || matrix.python-version == 3.9) && startsWith(runner.os, 'Linux')
env
:
GEVENT_LOOP
:
libev-cffi
run
:
|
python -m gevent.tests $G_USE_COV
python -m gevent.tests $G_USE_COV
|| python -m gevent.tests
-
name
:
Report coverage
if
:
${{ !startsWith(matrix.python-version, 'pypy') }}
run
:
|
...
...
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