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

Setup automated tests on a SLURM cluster #20

Merged
merged 20 commits into from
Jul 5, 2024
Merged

Conversation

lebrice
Copy link
Collaborator

@lebrice lebrice commented Jul 2, 2024

  • Add a job step on the dev machine (self-hosted github runner) that launches a job on a SLURM cluster using sbatch.
  • This sbatch script spawns an ephemereal (single-job) self-hosted github runner.
  • This self-hosted github runner waits for a matching job step on GitHub, runs the tests, then uploads the results.

TODOs:

@lebrice lebrice marked this pull request as draft July 2, 2024 14:00
@lebrice lebrice force-pushed the cluster-tests-ci branch from e6176c3 to 1599dc7 Compare July 2, 2024 20:22
@lebrice lebrice self-assigned this Jul 2, 2024
lebrice added 2 commits July 3, 2024 20:13
Signed-off-by: Fabrice Normandin <[email protected]>
@lebrice lebrice force-pushed the cluster-tests-ci branch from 1599dc7 to 97bcd27 Compare July 3, 2024 20:13
@codecov-commenter
Copy link

codecov-commenter commented Jul 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (master@d5281e1). Learn more about missing BASE report.

Additional details and impacted files
@@            Coverage Diff            @@
##             master      #20   +/-   ##
=========================================
  Coverage          ?   56.69%           
=========================================
  Files             ?       50           
  Lines             ?     3277           
  Branches          ?        0           
=========================================
  Hits              ?     1858           
  Misses            ?     1419           
  Partials          ?        0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

lebrice added 17 commits July 3, 2024 20:41
Signed-off-by: Fabrice Normandin <[email protected]>
Signed-off-by: Fabrice Normandin <[email protected]>
Signed-off-by: Fabrice Normandin <[email protected]>
Signed-off-by: Fabrice Normandin <[email protected]>
Signed-off-by: Fabrice Normandin <[email protected]>
Signed-off-by: Fabrice Normandin <[email protected]>
@lebrice lebrice marked this pull request as ready for review July 5, 2024 03:37
@lebrice lebrice merged commit 58fa128 into master Jul 5, 2024
6 checks passed
@lebrice lebrice deleted the cluster-tests-ci branch July 5, 2024 15:24
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.

Setup a PoC that uses an emphemereal self-hosted GitHub runner on a SLURM cluster to run the tests
2 participants