As of now, push to any branch will cause full suite of test to run. This takes a long time, and potentially becomes the bottleneck when new builds are pushed often.
This PR changes this behavior:
push to regular branch will run the baseline unit/e2e tests (ubuntu-latest/py3.8)
any PR to main will trigger trigger full suite of tests (ubuntu/windows + py3.7-3.12)
As of now, push to any branch will cause full suite of test to run. This takes a long time, and potentially becomes the bottleneck when new builds are pushed often.
This PR changes this behavior: