From 6d5643769eb9cd313e9407301e052a76eb393e50 Mon Sep 17 00:00:00 2001 From: Willie Ruemmele Date: Mon, 28 Oct 2024 13:16:11 -0600 Subject: [PATCH] test: break NUTs apart --- .github/workflows/test.yml | 7 ++++++- package.json | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index bc01074c..f92a40f1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -25,7 +25,12 @@ jobs: matrix: os: [ubuntu-latest, windows-latest] command: - - 'yarn test:nuts:package' + - 'yarn test:nuts:package:install' + - 'yarn test:nuts:package:create:delete' + - 'yarn test:nuts:package:installed:list' + - 'yarn test:nuts:package:list' + - 'yarn test:nuts:package:version' + - 'yarn test:nuts:package:version:promote' # - 'yarn test:nuts:package1' disable because of the long-standing ORA bug fail-fast: false with: diff --git a/package.json b/package.json index a71bd342..b605efbc 100644 --- a/package.json +++ b/package.json @@ -120,7 +120,12 @@ "prepare": "sf-install", "test": "wireit", "test:nuts": "nyc mocha \"**/*.nut.ts\" --slow 4500 -t 1800000 --parallel --jobs 20", - "test:nuts:package": "nyc mocha \"test/commands/package/*.nut.ts\" --slow 4500 --timeout 600000 --parallel --jobs 20", + "test:nuts:package:install": "nyc mocha \"test/commands/package/install.nut.ts\" --slow 4500 --timeout 600000", + "test:nuts:package:create:delete": "nyc mocha \"test/commands/package/packageCreateAndDelete.nut.ts\" --slow 4500 --timeout 600000", + "test:nuts:package:installed:list": "nyc mocha \"test/commands/package/packageInstalledList.nut.ts\" --slow 4500 --timeout 600000", + "test:nuts:package:list": "nyc mocha \"test/commands/package/packageList.nut.ts\" --slow 4500 --timeout 600000", + "test:nuts:package:version": "nyc mocha \"test/commands/package/packageVersion.nut.ts\" --slow 4500 --timeout 600000", + "test:nuts:package:version:promote": "nyc mocha \"test/commands/package/versionPromoteUpdate.nut.ts\" --slow 4500 --timeout 600000", "test:nuts:package1": "nyc mocha \"test/commands/package1/*.nut.ts\" --slow 4500 --timeout 600000 --parallel --jobs 20", "test:only": "wireit", "version": "oclif readme"