Skip to content

Commit

Permalink
test: remove plugin-source ext NUTs
Browse files Browse the repository at this point in the history
  • Loading branch information
WillieRuemmele committed Oct 28, 2024
1 parent e59c087 commit 8e1de56
Showing 1 changed file with 1 addition and 34 deletions.
35 changes: 1 addition & 34 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# runs ut and nuts for SDR, plus the nuts from plugin-source
# runs ut and nuts for SDR, plus the nuts from plugin-deploy-retrieve

name: tests
on:
Expand Down Expand Up @@ -28,39 +28,6 @@ jobs:
with:
os: ${{ matrix.os }}

xNuts-ps:
needs: linux-unit-tests
name: xNuts-ps
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
command:
- 'yarn test:nuts:deb'
- 'yarn test:nuts:deploy:async'
- 'yarn test:nuts:deploy:destructive'
- 'yarn test:nuts:deploy:manifest'
- 'yarn test:nuts:deploy:metadata'
- 'yarn test:nuts:deploy:quick'
- 'yarn test:nuts:deploy:rest'
- 'yarn test:nuts:deploy:sourcepath'
- 'yarn test:nuts:deploy:testlevel'
- 'yarn test:nuts:mdapi'
- 'yarn test:nuts:retrieve'
- 'yarn test:nuts:specialTypes'
- 'yarn test:nuts:tracking'
uses: salesforcecli/github-workflows/.github/workflows/externalNut.yml@main
with:
packageName: '@salesforce/source-deploy-retrieve'
externalProjectGitUrl: 'https://github.com/salesforcecli/plugin-source'
command: ${{matrix.command}}
preBuildCommands: 'shx rm -rf node_modules/@salesforce/kit; shx rm -rf node_modules/@typescript-eslint; shx rm -rf node_modules/eslint-plugin-header; shx rm -rf node_modules/eslint-plugin-import; shx rm -rf node_modules/eslint-plugin-jsdoc; shx rm -rf node_modules/eslint-plugin-prettier'
postbuildCommands: 'cp src/registry/metadataRegistry.json lib/src/registry'
preExternalBuildCommands: 'shx rm -rf node_modules/@salesforce/source-tracking/node_modules/@salesforce/source-deploy-retrieve'
os: ${{matrix.os}}
useCache: false
secrets: inherit

xNuts-pdr:
needs: linux-unit-tests
strategy:
Expand Down

2 comments on commit 8e1de56

@svc-idee-bot
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark

Benchmark suite Current: 8e1de56 Previous: 13fc30e Ratio
eda-componentSetCreate-linux 234 ms 303 ms 0.77
eda-sourceToMdapi-linux 2428 ms 2250 ms 1.08
eda-sourceToZip-linux 1896 ms 1817 ms 1.04
eda-mdapiToSource-linux 2965 ms 2806 ms 1.06
lotsOfClasses-componentSetCreate-linux 447 ms 422 ms 1.06
lotsOfClasses-sourceToMdapi-linux 3872 ms 3585 ms 1.08
lotsOfClasses-sourceToZip-linux 3195 ms 3129 ms 1.02
lotsOfClasses-mdapiToSource-linux 3641 ms 3482 ms 1.05
lotsOfClassesOneDir-componentSetCreate-linux 754 ms 728 ms 1.04
lotsOfClassesOneDir-sourceToMdapi-linux 6709 ms 6362 ms 1.05
lotsOfClassesOneDir-sourceToZip-linux 5836 ms 5522 ms 1.06
lotsOfClassesOneDir-mdapiToSource-linux 6604 ms 6284 ms 1.05

This comment was automatically generated by workflow using github-action-benchmark.

@svc-idee-bot
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark

Benchmark suite Current: 8e1de56 Previous: 13fc30e Ratio
eda-componentSetCreate-win32 675 ms 604 ms 1.12
eda-sourceToMdapi-win32 4624 ms 4347 ms 1.06
eda-sourceToZip-win32 3020 ms 2928 ms 1.03
eda-mdapiToSource-win32 6428 ms 5715 ms 1.12
lotsOfClasses-componentSetCreate-win32 1213 ms 1199 ms 1.01
lotsOfClasses-sourceToMdapi-win32 7616 ms 7714 ms 0.99
lotsOfClasses-sourceToZip-win32 5002 ms 5100 ms 0.98
lotsOfClasses-mdapiToSource-win32 7750 ms 7869 ms 0.98
lotsOfClassesOneDir-componentSetCreate-win32 2084 ms 2113 ms 0.99
lotsOfClassesOneDir-sourceToMdapi-win32 13457 ms 13803 ms 0.97
lotsOfClassesOneDir-sourceToZip-win32 8948 ms 9471 ms 0.94
lotsOfClassesOneDir-mdapiToSource-win32 13755 ms 14228 ms 0.97

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.