-
Notifications
You must be signed in to change notification settings - Fork 306
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch GitHub workflows used in CI from tox environments to nox sessi…
…ons (#2685) * Add nox sessions for running tests * Remove tox envs for tests * Add quotes * Pass through GH_TOKEN if defined in nox tests session * Add line to GH_TOKEN in workflow * Edit changelog: 2685.internal.rst * Use appropriate API for session.env * Change API once more * I remember how dicts work sometimes! * Add nox session for creating sdists & wheels * Remove temporary print statements * Rename session * Invoke nox session for validating CITATION.cff * Invoke nox session to `import plasmapy` * Remove tox-based tests.yml * Expand note about deprecation of tox.ini * Put quotes around '3.10' so it doesn't get interpreted as '3.1' * Fix test_specifier bug * Add type hints and shuffle things around * Fix bug * Finish fixing bug * Generate names of workflows from matrix In the past, I've occasionally updated the OS or version of Python in one place, but not the other. By generating names from the matrix, it'll make it more likely that there will be self-consistency. (Also: DRY principle) * Use run-name instead of name * Go back to not generating names in matrix of workflows I wasn't able to get it to work. * Add missing option for coverage * Add pytest-cov to pyproject dependencies * Update subset of requirements files * Add some requirements files * Add timeout-minutes for CI * Update testing guide for Nox * Minor edits to testing guide * Update testing guide for nox * Update README for how to regenerate requirements with nox * Remove outdated comment * Update requirements file used in docs * Edit changelog: 2685.internal.rst * Clarify use of quotes when invoking Nox sessions * Incidental updates to coverage settings * Update cache invalidation I'm not sure I have the right syntax for hashFiles * Use all tests requirements files in cache * Remove type hint which was part of private API * Ignore .nox & .tox when searching for doc source files The purpose of this commit is primarily to test if the labeler GitHub Action is working.
- Loading branch information
Showing
9 changed files
with
143 additions
and
245 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 was deleted.
Oops, something went wrong.
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,2 @@ | ||
Switched the GitHub workflows for running tests from using |tox| environments | ||
to using |Nox| sessions. |
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
Oops, something went wrong.