Skip to content

Github CI tests are doubled #2041

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

Closed
MohamedElgammal opened this issue May 26, 2022 · 6 comments
Closed

Github CI tests are doubled #2041

MohamedElgammal opened this issue May 26, 2022 · 6 comments

Comments

@MohamedElgammal
Copy link
Contributor

MohamedElgammal commented May 26, 2022

Every CI test on GitHub actions is running twice:

  • One triggering push
  • One triggering Pull request

Actually, both runs every time anyone pushes to a branch on a PR.

Current Behaviour

Currently, some tests are failing on the pull request trigger while the exact same test is passing for the push trigger.

The error is:
Could not find rsyslog for current run!

ERROR: (gcloud.beta.compute.instances.create) Could not fetch resource:
The zone 'projects/***/zones/us-west1-a' does not have enough resources available to fulfill the request. '(resource type:compute)'.

Possible Solution

Remove actions on pull_request trigger action

@MohamedElgammal
Copy link
Contributor Author

@kgugala one example that is currently happening is the failing tests on PR #2034

@mithro
Copy link
Contributor

mithro commented May 26, 2022

@MohamedElgammal - The general idea is that people shouldn't be pushing directly to the vtr-verilog-to-routing but to their own fork of the repository and then sending a pull request from that....

https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/getting-started/about-collaborative-development-models#fork-and-pull-model
https://gist.github.com/Chaser324/ce0505fbed06b947d962
https://reflectoring.io/github-fork-and-pull/

@MohamedElgammal
Copy link
Contributor Author

@mithro Thanks for sharing this with me . I will make sure to follow this model in my upcoming pull requests.

@MohamedElgammal
Copy link
Contributor Author

However, I think we still have some issues regarding the available resources on the cloud as we are having too many failing tests.

@mithro
Copy link
Contributor

mithro commented May 26, 2022

That should be a seperate GitHub issue.

@MohamedElgammal
Copy link
Contributor Author

Thanks. Closing this issue and opening #2042 to discuss the failing tests due to cloud resources.

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

No branches or pull requests

2 participants