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

Fix test workflow and enable workflow runs in PRs from forks #246

Merged
merged 24 commits into from
Feb 5, 2025

Conversation

schuenke
Copy link
Collaborator

@schuenke schuenke commented Feb 5, 2025

This PR currently blocks #235 and #240 , we should get it merged soon.

The test workflow is now splitted into two seperate workflows:

  1. Run all tests in the different environments and upload the coverage reports
  2. Distinguish between PRs and pushes to master and create coverage comment in PRs

Furthermore, always all tests including sigpy a run. However, I left the matrix solution for with / without sigpy in case we experience sigpy problems again in the future. In the future, we might also want to add a coverage badge to our readme. I added the required step for this and just commented it out for the moment.

@schuenke schuenke changed the title Test workflows from fork Fix test workflow and enable workflow runs in PRs from forks Feb 5, 2025
@schuenke
Copy link
Collaborator Author

schuenke commented Feb 5, 2025

many thanks to @fzimmermann89 for the feedback and especially to @lrlunin for providing a great template for this workflow and for helping me test everything on my forked repo 🥇

The coverage comment will only be posted after this PR has been merged into master, but you can check schuenke#4 to see that it works even for PRs from a fork of a forked repo 😁

After the merge, the complete workflow will be available in every PR to this repo.

@schuenke schuenke merged commit d02e58a into imr-framework:master Feb 5, 2025
7 checks passed
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