kvas-it / pytest-console-scripts

Pytest plugin for testing console scripts
MIT License
78 stars 14 forks source link

Trigger CI tests on push and on pull request activity. #66

Closed HexDecimal closed 1 year ago

HexDecimal commented 1 year ago

I like to use the CI to test my topic branches before making a PR for them, but I can't do that when push is restricted to the master branch.

Having both push and pull_request can cause updates to PR's to be run twice when updated. Restricting the types reduces this. Then if you ever need to manually trigger the test on a PR you can close and reopen that PR.