Skip to content

Commit dccb589

Browse files
committed
Run TestFull task for the merge queue and Test otherwise
So we still ensure _everything_ works when merging (possibly multiple PRs at once), but aren't stuck running the long set of tests for each push and PR.
1 parent 25d58d4 commit dccb589

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

.github/workflows/ci-test.yml

+1-6
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,7 @@ jobs:
4141

4242
- name: Build and test
4343
shell: pwsh
44-
run: Invoke-Build
45-
46-
- name: Test all SDKs and CLM
47-
shell: pwsh
48-
if: github.ref == 'refs/heads/main'
49-
run: Invoke-Build TestFull
44+
run: Invoke-Build ${{ github.event_name == 'merge_group' && 'TestFull' || 'Test' }}
5045

5146
- name: Upload build artifacts
5247
if: always()

0 commit comments

Comments
 (0)