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

feat: add initial integration tests for the slurm snap #32

Merged
merged 4 commits into from
Jun 26, 2024

Conversation

NucciTheBoss
Copy link
Member

This pull request adds integration tests for the Slurm snap. We need integration tests so that we can ensure that changes that we make to the snap will not break the snap and be detrimental to our users.

Things added:

  • A Makefile for calling the integration tests. Eventually this may replace tox.ini given our issues with the Python-based hooks.
  • Integration job for the CI pipeline.
  • A gambol playthrough file for actually running the tests. Gambol was built for running the Slurm snap integration tests. It will create a mini-HPC cluster within the GitHub CI runner.

Fixes: #31

@NucciTheBoss NucciTheBoss added the enhancement New feature or request label Jun 25, 2024
@NucciTheBoss NucciTheBoss requested a review from jedel1043 June 25, 2024 22:20
@NucciTheBoss NucciTheBoss self-assigned this Jun 25, 2024
@jedel1043
Copy link
Contributor

jedel1043 commented Jun 25, 2024

Uhhh, why didn't the CI trigger for this PR?
EDIT: Ah...
image

@NucciTheBoss
Copy link
Member Author

Uhhh, why didn't the CI trigger for this PR?

YAML stands for (Y)AML (A)in't (M)aking my (L)ife any easier

@NucciTheBoss NucciTheBoss force-pushed the add-integration-tests branch from 2feb5e9 to 284e3fd Compare June 26, 2024 00:32
@NucciTheBoss NucciTheBoss force-pushed the add-integration-tests branch from a6f1939 to 6e5790a Compare June 26, 2024 20:51
@NucciTheBoss
Copy link
Member Author

@jedel1043 this is ready for review! Fixed the issues with the integration test. Just needed to disable IPv6 so that the hostname output would be handled correctly

Copy link
Contributor

@jedel1043 jedel1043 left a comment

Choose a reason for hiding this comment

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

Pretty much perfect! It's nice to finally have integration tests.

@NucciTheBoss NucciTheBoss merged commit d50c71a into main Jun 26, 2024
4 checks passed
@NucciTheBoss NucciTheBoss deleted the add-integration-tests branch July 1, 2024 17:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Enhancement]: Add integration/end-to-end tests for the Slurm snap
2 participants