Skip to content

Commit

Permalink
ci: Move full compat matrix tests for local-server and tinylicious to…
Browse files Browse the repository at this point in the history
… the e2e tests pipeline (microsoft#20057)
  • Loading branch information
alexvy86 committed Mar 15, 2024
1 parent 15b7b94 commit 2311ce4
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 17 deletions.
4 changes: 0 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,8 @@
"ci:test:mocha:coverage": "c8 --no-clean npm run test:mocha -- --timeout 4s",
"ci:test:realsvc:local": "pnpm run -r --no-sort --stream --no-bail test:realsvc:local:report",
"ci:test:realsvc:local:coverage": "c8 --no-clean pnpm recursive --no-sort --stream --no-bail run test:realsvc:local:report",
"ci:test:realsvc:local:full": "pnpm run -r --no-sort --stream --no-bail test:realsvc:local:report:full",
"ci:test:realsvc:local:full:coverage": "c8 --no-clean pnpm recursive --no-sort --stream --no-bail run test:realsvc:local:report:full",
"ci:test:realsvc:tinylicious": "pnpm run -r --no-sort --stream --no-bail test:realsvc:tinylicious:report",
"ci:test:realsvc:tinylicious:coverage": "c8 --no-clean pnpm run -r --no-sort --stream --no-bail test:realsvc:tinylicious:report ",
"ci:test:realsvc:tinylicious:full": "pnpm run -r --no-sort --stream --no-bail test:realsvc:tinylicious:report:full",
"ci:test:realsvc:tinylicious:full:coverage": "c8 --no-clean pnpm run -r --no-sort --stream --no-bail test:realsvc:tinylicious:report:full",
"ci:test:stress:tinylicious": "pnpm run -r --no-sort --stream --no-bail test:stress:tinylicious:report ",
"ci:test:stress:tinylicious:coverage": "c8 --no-clean pnpm run -r --no-sort --stream --no-bail test:stress:tinylicious:report ",
"clean": "fluid-build --task clean",
Expand Down
8 changes: 2 additions & 6 deletions tools/pipelines/build-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,12 +152,8 @@ extends:
- webpack
- ci:test:mocha
- ci:test:jest
- ${{ if eq(variables['System.TeamProject'], 'public') }}:
- ci:test:realsvc:local
- ci:test:realsvc:tinylicious
- ${{ if ne(variables['System.TeamProject'], 'public') }}:
- ci:test:realsvc:local:full
- ci:test:realsvc:tinylicious:full
- ci:test:realsvc:local
- ci:test:realsvc:tinylicious
- ci:test:stress:tinylicious
- test:copyresults
testResultDirs:
Expand Down
8 changes: 4 additions & 4 deletions tools/pipelines/test-real-service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ stages:
jobs:
- template: templates/include-test-real-service.yml
parameters:
poolBuild: Small
poolBuild: Large # Need Large pool for full-compat matrix
testPackage: ${{ variables.testPackage }}
testWorkspace: ${{ variables.testWorkspace }}
artifactBuildId: $(resources.pipeline.client.runID)
testCommand: test:realsvc:local:report
testCommand: test:realsvc:local:report:full
env:
FLUID_TEST_LOGGER_PKG_PATH: ${{ variables.testWorkspace }}/node_modules/@ff-internal/aria-logger # Contains getTestLogger impl to inject

Expand All @@ -55,11 +55,11 @@ stages:
jobs:
- template: templates/include-test-real-service.yml
parameters:
poolBuild: Small
poolBuild: Large # Need Large pool for full-compat matrix
testPackage: ${{ variables.testPackage }}
testWorkspace: ${{ variables.testWorkspace }}
artifactBuildId: $(resources.pipeline.client.runID)
testCommand: test:realsvc:tinylicious:report
testCommand: test:realsvc:tinylicious:report:full
env:
FLUID_TEST_LOGGER_PKG_PATH: ${{ variables.testWorkspace }}/node_modules/@ff-internal/aria-logger # Contains getTestLogger impl to inject
# Disable colorization for tinylicious logs (not useful when printing to a file)
Expand Down
6 changes: 3 additions & 3 deletions tools/pipelines/test-stability.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,11 +159,11 @@ stages:
timeoutInMinutes: 360
taskBuild : ${{ parameters.taskBuild }}
taskLint: false
taskTest:
taskTest:
- ci:test:mocha
- ci:test:jest
- ci:test:realsvc:local:full
- ci:test:realsvc:tinylicious:full
- ci:test:realsvc:local
- ci:test:realsvc:tinylicious
- ci:test:stress:tinylicious
- test:copyresults
stageName: ${{ stageName }}

0 comments on commit 2311ce4

Please sign in to comment.