Closed MHHukiewitz closed 10 months ago
We should run CI on all branches and Pull Requests.
What about using this ?
on:
push:
pull_request:
on: push: [...]
Won't this cause the CI to trigger on every push on every branch, even without PR in place?
Thought it would be important to save on unnecessary GH actions usage
Good point.
The main thing that consumes our CI usage is the replication due to the matrix of versions.
We should run:
build-wheels.yml
on main and PRs that target mainpytest-docker.yml
on PR to main
Problem: build-wheels.yml and pytest-docker.yml would not trigger if a PR was created from a forked repo.
Solution: Trigger all the workflows on direct pushes to main and on any PR to main.
Indication comes from #69 and #47, which were both PRs that did not trigger all workflows and both were attempted merges from 1yam's forked repo.