Repository navigation
Repair the pipeline after pyTooling's and pyTooling.Sphinx' changes - #14
Merged
Merged
Conversation
pyTooling's RunEntrypoint merges the given environment into the current one since pyTooling 0e6945a3, so passing a copy without GITHUB_RUN_ID or GITHUB_REPOSITORY kept the workflow's values. A variable is removed by mapping it to None. Co-Authored-By: Patrick Lehmann <Paebbels@gmail.com>
Not up to standards ⛔🔴 Issues
|
| Category | Results |
|---|---|
| CodeStyle | 3 minor |
🟢 Metrics 0 complexity · 0 duplication
Metric Results Complexity 0 Duplication 0
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## dev #14 +/- ##
==========================================
+ Coverage 89.48% 89.60% +0.12%
==========================================
Files 8 8
Lines 3253 3253
Branches 571 571
==========================================
+ Hits 2911 2915 +4
+ Misses 235 230 -5
- Partials 107 108 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. |
…sphinx-reports pyTooling.Sphinx registers the domain 'report' itself since its #20, so enabling 'sphinx_reports' too ends the build with 'domain report already registered'. The configuration values take the 'pyTooling_' names; the extra 'reports' brings pyEDAA.Reports and docstr_coverage. Co-Authored-By: Patrick Lehmann <Paebbels@gmail.com>
Paebbels
reviewed
Oct 6, 2026
…tWithout' Each test removes a single variable, so the mapping to None is written where it is used. Co-Authored-By: Patrick Lehmann <Paebbels@gmail.com>
Merged
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Unit Tests
tests/app/Program.py:PipelineCommand.test_Repository_Missingandtest_PipelineID_Missingmap the variable to remove toNone(environment={"GITHUB_REPOSITORY": None}) instead of passing a copy of the environment without it; the helperenvironmentWithout()is gone. Since pyTooling commit 0e6945a3 ("Merge a test's environment into the current one instead of replacing it"),RunEntrypointmerges the given variables into the current environment and removes only those set toNone- so the copy left the workflow's ownGITHUB_RUN_IDandGITHUB_REPOSITORYin place, and both tests queried the GitHub API (HTTP 404) instead of reporting the missing value (exit code 2).Documentation
reportinstead of the extensionsphinx_reports. pyTooling.Sphinx registers that domain itself since Transfer the 'report' domain from sphinx-reports into pyTooling.Sphinx pyTooling.Sphinx#20, so enabling both ended the documentation job withsphinx.errors.ExtensionError: domain report already registered.conf.py:sphinx_reportsis no longer an extension; the configuration values are renamed topyTooling_Unittest_Testsuites,pyTooling_CodeCoverage_PackagesandpyTooling_DocCoverage_Packages.doc/requirements.txt:pyTooling.Sphinx[reports]instead ofsphinx_reports- the extra bringspyEDAA.Reportsanddocstr_coverage.Related Issues and Pull-Requests