-
-
Notifications
You must be signed in to change notification settings - Fork 170
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🧪 Collect Cython coverage in CI (#961)
- Loading branch information
Showing
6 changed files
with
64 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
Coverage collection has been implemented for the Cython modules | ||
-- by :user:`webknjaz`. | ||
|
||
It will also be reported to Codecov from any non-release CI jobs. | ||
|
||
To measure coverage in a development environment, *yarl* can be | ||
installed in editable mode, which requires an environment variable | ||
``YARL_CYTHON_TRACING=1`` to be set: | ||
|
||
.. code-block:: console | ||
$ YARL_CYTHON_TRACING=1 python -Im pip install -e . | ||
Editable install produces C-files required for the Cython coverage | ||
plugin to map the measurements back to the PYX-files. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
Bluesky | ||
Bugfixes | ||
Changelog | ||
Codecov | ||
Cython | ||
GPG | ||
IPv | ||
PRs | ||
PYX | ||
Towncrier | ||
UTF | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
-r cython.txt | ||
idna==3.4 | ||
multidict==6.0.4 | ||
pytest==7.4.3 | ||
|