naobservatory / mgs-workflow

MIT License
4 stars 2 forks source link

Configure Github Actions yaml file to only submit one test when a pull-request is open for a branch #109

Open harmonbhasin opened 4 days ago

harmonbhasin commented 4 days ago

Currently, I have the Github Actions configuration file triggering a test whenever a push or pull request is made. This results in the same test running twice when a pull-request is open for a branch. This is wasteful, and we should find a better configuration for this.

harmonbhasin commented 3 days ago

Fixed this by only running test on github actions during pull request. All other testing can be done locally and is documented in the README.md