Skip to content

Commit 3fd04c3

Browse files
committed
ci: skip integration tests for PRs targeting fts branch
The FTS branch will involve a large number of breaking changes. Running the full integration test suite on every PR significantly slows down integration velocity during this development phase. Adds branch conditions to skip create-project, integration-tests, and cleanup-project jobs when PRs target the fts branch. Linting and unit tests still run on all PRs.
1 parent 3c194f7 commit 3fd04c3

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/on-pr.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,12 @@ jobs:
4141
python_versions_json: '["3.10", "3.11", "3.12", "3.13"]'
4242

4343
create-project:
44+
if: github.base_ref != 'fts'
4445
uses: './.github/workflows/project-setup.yaml'
4546
secrets: inherit
4647

4748
integration-tests:
48-
if: always() && (needs.create-project.result == 'success')
49+
if: always() && (needs.create-project.result == 'success') && github.base_ref != 'fts'
4950
uses: './.github/workflows/testing-integration.yaml'
5051
secrets: inherit
5152
needs:
@@ -57,7 +58,7 @@ jobs:
5758
sparse_index_host: ${{ needs.create-project.outputs.index_host_sparse }}
5859

5960
cleanup-project:
60-
if: ${{ always() }}
61+
if: always() && github.base_ref != 'fts'
6162
needs:
6263
- create-project
6364
- integration-tests

0 commit comments

Comments
 (0)