Skip to content

Conversation

@JoshuaLampert
Copy link
Member

@JoshuaLampert JoshuaLampert commented Aug 11, 2024

Hi @mikeingold! Thanks for this really great package and especially thanks for the recent effort to make MeshIntegrals.jl compatible with the newer versions of Meshes.jl!
I have noticed that MeshIntegrals.jl is not compatible with Meshes.jl <v0.47, which is not a big problem I guess, but this should be reflected by the compat bounds. Also: MeshIntegrals seems to be perfectly compatible with the latest Meshes v0.48. Thus, I think the compat should read "Meshes = 0.47, 0.48".
I also noticed that there are no GitHub actions workflows in this repo. I thus added

  • a CompatHelper workflow that automatically creates PRs to update compat bounds, e.g., once a Meshes.jl v0.49 is released CompatHelper will open a PR to update the compat bounds here and thus also allow the new version of Meshes.jl.
  • a CI test script that runs the tests on every PR. This also includes code coverage via codecov and coveralls, which can be quite helpful. If you like to upload the coverage reports, you would need to follow the instructions on the linked sites, which is quite easy. If not, I can remove the corresponding lines in the CI script again, of course.
  • dependabot, which allows to get updates for GitHub actions automatically.
  • a spell check script, which automatically tests if there are typos in the repository.

Finally, I think, with the recent version bump the syntax for defining a function to be integrated given in the README is outdated. The p.coords... gave an error for me. I updated it accordingly.
If you have any questions or suggestions, please feel free to tell me. I put everything in this one PR, but if I should split it up in separate PRs, please also tell me.

@mikeingold
Copy link
Collaborator

Hello, @JoshuaLampert! Thanks for the PR, and good catch on the compact bounds! It might be a few days before I get a chance to take a deeper look at this but I really appreciate the advice and the contributions.

@JoshuaLampert
Copy link
Member Author

Looks like the tests do not run. Can you double-check the GitHub settings, especially the "Actions" tab under "Code and Automation"?

@mikeingold
Copy link
Collaborator

Looks like the tests do not run. Can you double-check the GitHub settings, especially the "Actions" tab under "Code and Automation"?

I went in and checked. It looks to me like Actions are allowed to run. What I'm not sure about is whether a proposed CI change will run in the proposed PR, or if only pre-existing CI (none) will run here.

@JoshuaLampert
Copy link
Member Author

Usually it should already run in the proposed PR. I am not sure why it does not here, when all settings look fine.

@JoshuaLampert
Copy link
Member Author

What is the setting for "Fork pull request workflows from outside collaborators"?

@mikeingold
Copy link
Collaborator

It was previously defaulted to "require approval for first-time contributors" but I moved it to "...who are new to GitHub" earlier to see if that was the issue. Either way, though, I don't see any options here to approve workflows, just a message that "[CI] has not been set up" with links for me to go add it myself (as was done in this PR).

@JoshuaLampert
Copy link
Member Author

Ok, maybe then CI needs to be set up by the owner of a repo to be run in the first PR for which CI it set up?

@JoshuaLampert
Copy link
Member Author

We could try merging this PR if you agree and see if it runs then? Or do you have another idea?

@JoshuaLampert
Copy link
Member Author

From the documentation of GitHub Actions about approving workflow runs from public forks it looks like there should be a button "Approve and run" 🤔

@mikeingold
Copy link
Collaborator

mikeingold commented Aug 16, 2024 via email

@JoshuaLampert
Copy link
Member Author

Sounds good to me.

@mikeingold
Copy link
Collaborator

mikeingold commented Aug 16, 2024 via email

@JoshuaLampert
Copy link
Member Author

I agree that updating the README and creating a proper documentation via Documenter.jl would be nice. But I think this can be done in a subsequent PR. My change in the README in this PR was meant as a quick hotfix.

I'm hoping Julio gets a chance to also give a thumbs up as it would give me a bit more confidence

Are you fine with merging this PR @juliohm?

@mikeingold
Copy link
Collaborator

I agree that updating the README and creating a proper documentation via Documenter.jl would be nice. But I think this can be done in a subsequent PR. My change in the README in this PR was meant as a quick hotfix.

No disagreement here. I wasn't trying to expand scope, just pointing out that this component of the PR is mostly a stop-gap until bigger changes can be implemented ... and then a digression into a related but bigger ongoing topic.

@juliohm seemed positive about it on Zulip so I'm just going to merge and hope for the best.

@mikeingold mikeingold merged commit 8e727e8 into JuliaGeometry:main Aug 16, 2024
@JoshuaLampert JoshuaLampert deleted the compat-meshes branch August 16, 2024 16:01
@mikeingold
Copy link
Collaborator

I can see CI action jobs running for the squashed/merged commit.

@JoshuaLampert
Copy link
Member Author

Thanks! Things look good: GitHub Actions are running 🥳

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.

3 participants