Add test:pre-release script that excludes CLI tests (#2332)

* Add test:pre-release script that excludes CLI tests

* Less repetition
This commit is contained in:
Gregory Schier 2020-06-30 13:54:38 -07:00 committed by GitHub
parent 9f68e36eb4
commit 487047f843
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 12 deletions

View File

@ -23,8 +23,7 @@ jobs:
with:
node-version: 10
- run: npm run bootstrap
# Don't run tests until we can get node-libcurl working with them
# - run: npm test
- run: npm test:pre-release
- run: npm run app-release
env:
CSC_LINK: ${{ secrets.CORE_WINDOWS_CSC_LINK }}
@ -38,8 +37,7 @@ jobs:
with:
node-version: 10
- run: npm run bootstrap
# Don't run tests until we can get node-libcurl working with them
# - run: npm test
- run: npm test:pre-release
- run: npm run app-release
env:
APPLE_ID: ${{ secrets.CORE_APPLE_ID }}
@ -58,8 +56,7 @@ jobs:
with:
node-version: 10
- run: npm run bootstrap
# Don't run tests until we can get node-libcurl working with them
# - run: npm test
- run: npm test:pre-release
- run: npm run app-release
env:
BUILD_TARGETS: AppImage,deb,tar.gz,rpm,snap

View File

@ -23,8 +23,7 @@ jobs:
with:
node-version: 10
- run: npm run bootstrap
# Don't run tests until we can get node-libcurl working with them
# - run: npm test
- run: npm test:pre-release
- run: npm run app-release
env:
CSC_LINK: ${{ secrets.DESIGNER_WINDOWS_CSC_LINK }}
@ -38,8 +37,7 @@ jobs:
with:
node-version: 10
- run: npm run bootstrap
# Don't run tests until we can get node-libcurl working with them
# - run: npm test
- run: npm test:pre-release
- run: npm run app-release
env:
APPLE_ID: ${{ secrets.DESIGNER_APPLE_ID }}
@ -58,8 +56,7 @@ jobs:
with:
node-version: 10
- run: npm run bootstrap
# Don't run tests until we can get node-libcurl working with them
# - run: npm test
- run: npm test:pre-release
- run: npm run app-release
env:
BUILD_TARGETS: AppImage,deb,tar.gz,rpm,snap

View File

@ -14,6 +14,7 @@
"clean": "lerna clean --yes && rimraf node_modules",
"typecheck": "lerna run --parallel --stream typecheck",
"test": "npm run lint && npm run typecheck && lerna run --stream --parallel test",
"test:pre-release": "npm run test -- --ignore insomnia-cli",
"cli-start": "npm start --prefix packages/insomnia-cli",
"app-start": "npm start --prefix packages/insomnia-app",
"app-build": "npm run build --prefix packages/insomnia-app",