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

Auto trigger CI #248

Open
justinlaughlin opened this issue Aug 8, 2024 · 2 comments
Open

Auto trigger CI #248

justinlaughlin opened this issue Aug 8, 2024 · 2 comments

Comments

@justinlaughlin
Copy link
Contributor

We want to have pymfem trigger its CI tests when mfem updates... The machinery is mostly in-place already, we just needed to decide on and enable the trigger.

I think we decided to use pushes to mfem:master as the trigger for CI on the pymfem side...

@sshiraiwa
Copy link
Member

sshiraiwa commented Aug 8, 2024

Great idea. Running minimum set of build and example test would be very helpful to detect an issue

building

  1. python setup.py installl --mfem-branch=master
  2. python setup.py install --with-parallel --mfem-branch=master

testting

  1. cd test; python run_examples.py -serial -verbose
  2. cd test: python run_examples.py -parallel -np 4

@justinlaughlin
Copy link
Contributor Author

@sshiraiwa When you get a chance could you check out mfem/mfem#4283 :)

The trigger runs {"test_options":"fast"} which builds and runs tests for --mfem-branch=[master,default] and parallel/serial. If we need to make changes, we should be able to just edit the code block on the PyMFEM end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants