Skip to content

Commit b9c20f1

Browse files
Copilotbartelink
andauthored
Reorder CI: build first (produces all packages), then test --no-build (avoids redundant compilation)
Agent-Logs-Url: https://github.com/jet/equinox/sessions/a17d3ba9-9e47-469a-ac0c-5525a896a44c Co-authored-by: bartelink <206668+bartelink@users.noreply.github.com>
1 parent 626ab1d commit b9c20f1

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

azure-pipelines.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,17 @@ jobs:
1717
EQUINOX_INTEGRATION_SKIP_EVENTSTORE: true
1818
EQUINOX_INTEGRATION_SKIP_COSMOS: true
1919
steps:
20+
- script: dotnet build -c Release
21+
displayName: dotnet build
2022
# exit code 8 signifies one or more assemblies did not have any non-skipped tests
2123
# CI env does not provide docker-compose simulated stores, which means most store tests are skipped
22-
- script: dotnet test -c Release --report-xunit-trx --ignore-exit-code 8 --results-directory tests/trx
24+
- script: dotnet test -c Release --no-build --report-xunit-trx --ignore-exit-code 8 --results-directory tests/trx
2325
displayName: dotnet test
2426
- task: PublishTestResults@2
2527
inputs:
2628
testResultsFormat: 'VSTest'
2729
testResultsFiles: 'tests/trx/*.trx'
2830
condition: always()
29-
- script: dotnet build -c Release
30-
displayName: dotnet build
3131
- task: PublishBuildArtifacts@1
3232
inputs:
3333
pathToPublish: 'artifacts/nupkg'

0 commit comments

Comments
 (0)