Add weekly regression-tests workflow on self-hosted runner#235
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a GitHub Actions workflow to run the repository’s external-marked regression tests on a dedicated self-hosted runner with mounted regression data, and to persist JUnit/coverage artifacts for later inspection.
Changes:
- Introduces a weekly scheduled + manually triggerable
regression-testsworkflow targeting[self-hosted, regressiondata]. - Validates that all entries referenced in
tests/testdata.yamlexist under the configured mounted testdata path before running tests. - Runs
nox --session testsviauvand uploadsreport.xmlplus.coverage*artifacts.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+90
to
+91
| nox --session tests --python "$PYTHON_VERSION" -- $PYTEST_ARGS | ||
|
|
| default: "tests/external -m external -rs" | ||
|
|
||
| permissions: | ||
| contents: read |
Tokenize the workflow_dispatch pytest_args input into a bash array and
pass it through quoted "${ARGS[@]}" so injection via the unquoted
expansion is not possible.
Address Copilot review feedback on #235.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
3 tasks
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.
Summary
.github/workflows/regression-tests.yml: a scheduled (weekly, Sun 03:23 UTC) +workflow_dispatchjob that runs theexternal-marked test suite against mounted regression data.[self-hosted, regressiondata]runner; expects test data at/mnt/testdata-scida(overridable via dispatch input), and validates entries againsttests/testdata.yamlbefore running.uv+nox --session tests(Python 3.11 default, overridable), and uploadsreport.xmland.coverage*artifacts on completion.Test plan
workflow_dispatchonce merged and confirm the self-hosted runner picks up the jobtests/testdata.yamlis missing🤖 Generated with Claude Code