Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve CI Workflow: Add Test Selection and Enhanced Test Status Report for HWCI #2

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

charles37
Copy link
Contributor

@charles37 charles37 commented Nov 20, 2024

Add Test Selection Mechanism to Treadmill-CI Workflow

This PR updates the treadmill-ci workflow by adding an analyze-changes job that prepares a list of hardware CI tests to run. While it currently selects all available tests, it sets the foundation for future enhancements to select tests based on changes in the tock/tock repository.

Key Changes:

  • Added analyze-changes Job:

    • Checks out both tock/tock and tock/tock-hardware-ci repositories.
    • Runs select-tests.py from tock-hardware-ci to select tests.
    • Outputs hwci-tests-json containing the list of tests.
  • Updated treadmill-ci Job:

    • Now depends on the analyze-changes job.
    • Uses the tests-json parameter to run the selected tests.

Notes:

  • The select-tests.py script currently selects all tests but is designed for future updates to analyze changes and select relevant tests.
  • These changes aim to improve CI efficiency and prepare for scalable test selection.
  • This PR must be merged into main before other such PRs into tock/tock and tock/libtock-c

@lschuermann lschuermann force-pushed the dev/test_ci_branch branch 2 times, most recently from edfc00a to 9f9446e Compare November 20, 2024 19:46
@lschuermann lschuermann force-pushed the dev/test_ci_branch branch 2 times, most recently from 8338dfe to a25f481 Compare November 20, 2024 19:56
@charles37 charles37 changed the title Dev/test ci branch Improve CI Workflow: Add Test Selection and Enhanced Test Status Report for HWCI Nov 20, 2024
@lschuermann lschuermann force-pushed the dev/test_ci_branch branch 3 times, most recently from 0ae75af to c3b8010 Compare November 20, 2024 20:08
@lschuermann lschuermann deployed to treadmill-ci-merged November 20, 2024 20:09 — with GitHub Actions Active
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