Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: remove plugin-source ext NUTs #1446

Merged
merged 1 commit into from
Oct 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading