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

Remove duplicated test run from GH actions #77

Merged
merged 1 commit into from
Jul 27, 2021
Merged

Remove duplicated test run from GH actions #77

merged 1 commit into from
Jul 27, 2021

Conversation

davidscn
Copy link
Member

Our tests are currently duplicated in PRs, since the push event is triggered as well as the pull_request event. We should definitely specify the test branches here so that the pull_request event is triggered when opening and syncing PRs and the push event is triggered when we actually merge and push to master.

@davidscn davidscn requested a review from MakisH July 26, 2021 14:14
Copy link
Member

@MakisH MakisH left a comment

Choose a reason for hiding this comment

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

I was confused whether this was normal/common. Thank you for fixing, looks good to me.

@MakisH MakisH merged commit 0aef5df into master Jul 27, 2021
@MakisH MakisH deleted the fix-tests branch July 27, 2021 07:54
@BenjaminRodenberg
Copy link
Member

But this also changes when the test is run, isn't it? Previously we ran this test always on any branch. Now it's only for master. Is this intended?

@davidscn
Copy link
Member Author

Yes, it only runs if you open up a PR. This is intended.

@davidscn
Copy link
Member Author

Merging without PR is a bad idea anyway, isn't it?

@BenjaminRodenberg
Copy link
Member

Merging without PR is a bad idea anyway, isn't it?

Yes. But sometimes it still happens or people just open the PR when development is done. And if failing tests pop up at such a late point in time this might be annoying. Here, I don't think it's critical, but generally I think it's good to know about all requirements (=tests) when you are developing and not only when you are submitting the PR.

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