Skip to content

Add weekly regression-tests workflow on self-hosted runner#235

Merged
cbyrohl merged 2 commits into
mainfrom
ci-regressiondata
May 13, 2026
Merged

Add weekly regression-tests workflow on self-hosted runner#235
cbyrohl merged 2 commits into
mainfrom
ci-regressiondata

Conversation

@cbyrohl
Copy link
Copy Markdown
Owner

@cbyrohl cbyrohl commented May 13, 2026

Summary

  • Add .github/workflows/regression-tests.yml: a scheduled (weekly, Sun 03:23 UTC) + workflow_dispatch job that runs the external-marked test suite against mounted regression data.
  • Targets the [self-hosted, regressiondata] runner; expects test data at /mnt/testdata-scida (overridable via dispatch input), and validates entries against tests/testdata.yaml before running.
  • Uses uv + nox --session tests (Python 3.11 default, overridable), and uploads report.xml and .coverage* artifacts on completion.

Test plan

  • Trigger via workflow_dispatch once merged and confirm the self-hosted runner picks up the job
  • Verify the testdata presence check fails loudly when an entry from tests/testdata.yaml is missing
  • Confirm JUnit + coverage artifacts upload on both pass and failure paths

🤖 Generated with Claude Code

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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-tests workflow targeting [self-hosted, regressiondata].
  • Validates that all entries referenced in tests/testdata.yaml exist under the configured mounted testdata path before running tests.
  • Runs nox --session tests via uv and uploads report.xml plus .coverage* artifacts.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/regression-tests.yml Outdated
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>
@cbyrohl cbyrohl merged commit 0990c8e into main May 13, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants