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

Add CI test against development versions #445

Merged
merged 3 commits into from
Feb 24, 2025

Conversation

k-harris27
Copy link
Contributor

This should test against up-to-date development versions of ASE and MACE during CI.

It shouldn't fail the CI if the tests fail, so that we can have a warning about upcoming breaking changes.

@ElliottKasoar ElliottKasoar added the testing Unit testing or CI label Feb 24, 2025
Copy link
Member

@ElliottKasoar ElliottKasoar left a comment

Choose a reason for hiding this comment

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

Looks great generally!

A couple of suggestions to think about:

  • I'm open to arguments either way, but I think we may want to only run this on pushes to main, while this will run on every push to PRs etc., which is probably more than is needed
  • Probably on me for describing this poorly, but I think uv pip install probably makes sense over uv add. uv add will force compatibility with other dependencies, which may fail, but that's not really a problem for this sort of test

@k-harris27 k-harris27 marked this pull request as ready for review February 24, 2025 13:56
@k-harris27
Copy link
Contributor Author

As a note: we were unsure if continue-on-error would mark the workflow as "passed" even if the job failed. Testing on a minimal repo seems to suggest it does, so if this fails it shouldn't prevent any merges.

https://github.com/k-harris27/actions-test/actions/runs/13501767954

Co-authored-by: ElliottKasoar <45317199+ElliottKasoar@users.noreply.github.com>
@ElliottKasoar ElliottKasoar merged commit 55e0ea1 into stfc:main Feb 24, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testing Unit testing or CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants