Skip to content

Commit f1d5649

Browse files
committed
Run all tests in one place
1 parent e277571 commit f1d5649

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

.github/workflows/CI.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,28 +16,27 @@ concurrency:
1616

1717
jobs:
1818
debug_build_and_test:
19-
name: Build Debug and run managed tests
19+
name: Build Debug and run all tests
2020
runs-on: windows-latest
2121
steps:
2222
- name: Checkout Files
2323
uses: actions/checkout@v6
2424
id: checkout
2525

26-
- name: Build managed (with tests)
27-
id: managed_build
26+
- name: Build and run tests
27+
id: test
2828
shell: powershell
2929
run: |
30-
.\build.ps1 -Configuration Debug -BuildTests
30+
.\test.ps1 -Configuration Debug -TestFilter 'TestCategory!=LongRunning&TestCategory!=ByHand&TestCategory!=SmokeTest&TestCategory!=DesktopRequired'
3131
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
3232
33-
- name: Run managed tests
34-
id: managed_test
33+
- name: Summarize native test results
34+
if: ${{ always() }}
3535
shell: powershell
3636
run: |
37-
.\test.ps1 -Configuration Debug -NoBuild -TestFilter 'TestCategory!=LongRunning&TestCategory!=ByHand&TestCategory!=SmokeTest&TestCategory!=DesktopRequired'
38-
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
37+
.\Build\Agent\Summarize-NativeTestResults.ps1 -Configuration Debug
3938
40-
- name: Upload TRX test results
39+
- name: Upload TRX test results (managed)
4140
if: ${{ !cancelled() }}
4241
uses: actions/upload-artifact@v7
4342
with:

0 commit comments

Comments
 (0)