diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index d2d7f2cd7aaf..1d3e276ef4c3 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -1,5 +1,11 @@ name: Integration Tests on: + # Run tests on main just so the module and build cache can be saved and used + # in PRs. This speeds up the time it takes to test PRs dramatically. + # (More information on https://docs.github.com/en/enterprise-server@3.6/actions/using-workflows/caching-dependencies-to-speed-up-workflows) + push: + branches: + - main pull_request: jobs: run_tests: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 09e742fdc229..c2dc2eebfd24 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,6 +2,7 @@ name: Test on: # Run tests on main just so the module and build cache can be saved and used # in PRs. This speeds up the time it takes to test PRs dramatically. + # (More information on https://docs.github.com/en/enterprise-server@3.6/actions/using-workflows/caching-dependencies-to-speed-up-workflows) push: branches: - main