Repository navigation
Use nox for some testing environments in GitHub workflows - #2656
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2656 +/- ##
=======================================
Coverage 95.22% 95.22%
=======================================
Files 103 103
Lines 9401 9401
Branches 2151 2151
=======================================
Hits 8952 8952
Misses 274 274
Partials 175 175 ☔ View full report in Codecov by Sentry. |
This reverts commit fac1f47.
For nox.thea.codes
| workflow_dispatch: | ||
|
|
||
| env: | ||
| DOC_TROUBLESHOOTING: "Warnings like 'reference target not found' occur when Sphinx tries to interpret text as a Python object, but is unable to do so. This warning can often be fixed by surrounding text in double back ticks instead of single back ticks (e.g., by changing `y` to ``y``) so that it gets formatted as an in-line literal. For more information about addressing documentation build failures, please check out the documentation troubleshooting guide at: https://docs.plasmapy.org/en/latest/contributing/doc_guide.html#troubleshooting" |
There was a problem hiding this comment.
📌 In a follow-up PR, I'm wondering if it would be worth including this in its own file. Alternatively, it could be included in the nox environment itself. 🤔
| - name: Build documentation with Sphinx | ||
| run: nox -e docs -- -q |
There was a problem hiding this comment.
The -q makes the documentation build quiet, which makes it easier to find warnings and errors.
|
|
||
| All public releases of PlasmaPy are openly archived in the `PlasmaPy | ||
| Community <https://zenodo.org/communities/plasmapy>`__ on |Zenodo|. | ||
| Community <https://zenodo.org/communities/plasmapy/records>`__ on |Zenodo|. |
There was a problem hiding this comment.
🏕️ I updated a few redirects since I was running linkcheck anyway.
This PR switches some GitHub workflows from being run with tox to being run with nox, including:
Motivation
Presently, our tox configuration file is difficult to understand and maintain. Using nox lets us have a configuration file that is written in Python.
Related issues
This PR is a follow-up on #2654. See also #1734 & #1735.