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

Perform unit tests in NSLS-II conda environments #96

Merged
merged 46 commits into from
Jun 25, 2024

Conversation

padraic-shafer
Copy link
Contributor

This PR adds a GitHub action to run unit tests in recent NSLS-II conda environments.

  • To limit the number of tests (and the time they take) the conda environments are limited to only those specified in recent-envs.yml.
  • Older conda environments listed in legacy-envs.yml can be run from the workflow defined in legacy-conda-env-tests.yml

Unit tests currently pass in all 36 environments from 2023 + 2024 without modifications, so long as two other recent PRs are merged into the test environment.

PRs #94, #95, #96 can be merged in any order.

@ambarb
Copy link
Contributor

ambarb commented Jun 12, 2024

@padraic-shafer do you want a review or merge?

@padraic-shafer
Copy link
Contributor Author

Yes, please. If it looks good to you, please merge.

@ambarb ambarb self-requested a review June 25, 2024 19:08
Copy link
Contributor

@ambarb ambarb left a comment

Choose a reason for hiding this comment

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

@padraic-shafer this looks pretty standard. I do hope there is a template for this that is in a custom nsls-ii cookie-cutter like thing. Is that right, or was this a lot of custom work?

@ambarb
Copy link
Contributor

ambarb commented Jun 25, 2024

I'll merge after i check the other one and then try to run the test suite "as a developer" to make sure I don't have questions. I followed instructions from skbeam.

@ambarb ambarb merged commit 16ef10c into NSLS-II-CSX:master Jun 25, 2024
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