Several times, we've been caught by failing tests only when merging to main (which is before deploying to production).
It would save a lot of time and frustration if tests were run against PRs targeting staging too, to catch these errors as early as possible and making production deployments easier.
Several times, we've been caught by failing tests only when merging to
main
(which is before deploying to production).It would save a lot of time and frustration if tests were run against PRs targeting
staging
too, to catch these errors as early as possible and making production deployments easier.To fix this, we probably just need to add
staging
to the list of target branches in https://github.com/Klimatbyran/klimatkollen/blob/392fb47dde4e56e51b902c7cd4ebe10b4fe876ca/.github/workflows/pr_check.yml#L5-L7