Repository navigation
ci: trim comments in experimental.yml (#1967) - #2038
Conversation
|
NEEDS CHANGES at |
e1191c2 to
23592a4
Compare
|
GOOD TO GO at |
|
Coverage: 91.54% (unit tier, Python 3.15,
Per-file detail: the |
23592a4 to
8ec363e
Compare
- Drop history narration, run and job ids, timing tables, restated YAML and duplicated rationale; keep each non-obvious why with its issue ref and upstream source. - Point the step caps' evidence at the KTLO test that pins them. - Add tests/project/test_experimental_shellcheck_1967.py, which shellchecks every run: block as actionlint does. Parsed YAML is unchanged apart from comment lines in one run: block.
8ec363e to
9fcbca8
Compare
|
Rebase only, no new changes: CI on the previous head |
- lint.yml: drop the actionlint step's `continue-on-error`, so a finding fails Lint; move it below the advisory steps and run it on `!cancelled()` so a finding skips none of them and a failed setup does not skip it. Version and sha256 pin unchanged. - lint.yml: the step's comment says it blocks, why that is safe now (#2023, #2037, #2038), and that the image's shellcheck can drift. - workflows.rst: Workflow Lint no longer calls the step advisory. - test_actionlint_in_lint_1967: TestItBlocks pins the blocking shape; test_unit_tests_shellcheck_1967's docstring no longer says advisory.
- lint.yml: drop the actionlint step's `continue-on-error`, so a finding fails Lint; move it below the advisory steps and run it on `!cancelled()` so a finding skips none of them and a failed setup does not skip it. Version and sha256 pin unchanged. - lint.yml: the step's comment says it blocks, why that is safe now (#2023, #2037, #2038), and that the image's shellcheck can drift. - workflows.rst: Workflow Lint no longer calls the step advisory. - test_actionlint_in_lint_1967: TestItBlocks pins the blocking shape; test_unit_tests_shellcheck_1967's docstring no longer says advisory.
- lint.yml: drop the actionlint step's `continue-on-error`, so a finding fails Lint; move it below the advisory steps and run it on `!cancelled()` so a finding skips none of them and a failed setup does not skip it. Version and sha256 pin unchanged. - lint.yml: the step's comment says it blocks, why that is safe now (#2023, #2037, #2038), and that the image's shellcheck can drift. - workflows.rst: Workflow Lint no longer calls the step advisory. - test_actionlint_in_lint_1967: TestItBlocks pins the blocking shape; test_unit_tests_shellcheck_1967's docstring no longer says advisory.
- lint.yml: drop the actionlint step's `continue-on-error`, so a finding fails Lint; move it below the advisory steps and run it on `!cancelled()` so a finding skips none of them and a failed setup does not skip it. Version and sha256 pin unchanged. - lint.yml: the step's comment says it blocks, why that is safe now (#2023, #2037, #2038), and that the image's shellcheck can drift. - workflows.rst: Workflow Lint no longer calls the step advisory. - test_actionlint_in_lint_1967: TestItBlocks pins the blocking shape; test_unit_tests_shellcheck_1967's docstring no longer says advisory.
- lint.yml: drop the actionlint step's `continue-on-error`, so a finding fails Lint; move it below the advisory steps and run it on `!cancelled()` so a finding skips none of them and a failed setup does not skip it. Version and sha256 pin unchanged. - lint.yml: the step's comment says it blocks, why that is safe now (#2023, #2037, #2038), and that the image's shellcheck can drift. - workflows.rst: Workflow Lint no longer calls the step advisory. - test_actionlint_in_lint_1967: TestItBlocks pins the blocking shape; test_unit_tests_shellcheck_1967's docstring no longer says advisory.
make pylint,make mypy,make isort)make testpasses, and a test case covers the changeWhat is the purpose of your pull request?
ci— workflows or build toolingDescription of your pull request and other information
#1967 step 5, part 3:
experimental.yml. Stacked on #2032, so review only the top commit.tests/project/test_experimental_shellcheck_1967.py, mirroring ci: fix shellcheck findings and trim comments in unit-tests.yml (#1967) #2037'sunit-tests.ymltest. Everyrun:block was already shellcheck-clean, and this keeps it that way. The test fails on a copy with an unquoted$GITHUB_OUTPUT.Parsed before and after, the workflow is identical once full-line comments inside
run:blocks are dropped. No test or other file pins any of the cut text. The 20 files that readexperimental.ymlgive563 passed.Once #2037 lands, its test and this one could fold into one parameterised test.