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

Flattening Imperative and separating out tests #2020

Closed
wants to merge 180 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
180 commits
Select commit Hold shift + click to select a range
f8fb962
Migrate and add utility
awharn Nov 28, 2023
075fb71
Add deprecation message and update changelog
awharn Nov 28, 2023
2c81b52
Add missing changelog
awharn Nov 28, 2023
67d5bac
Make requested change
awharn Nov 28, 2023
84ead1b
Update typo in readme
awharn Nov 28, 2023
5f4c989
Merge pull request #1977 from zowe/deprecate-getDataSet
zFernand0 Nov 28, 2023
3fd3663
Bump version to 7.20.0 [ci skip]
zowe-robot Nov 28, 2023
108b5da
Add missing shrinkwrap
t1m0thyj Nov 29, 2023
599f6b3
Merge pull request #1978 from zowe/add-missing-shrinkwrap-v2
traeok Nov 29, 2023
c27fa66
Bump version to 7.20.1 [ci skip]
zowe-robot Nov 29, 2023
76e98e2
feat(imperative): Enhance to allow for `ProfileInfo.updateProperty` t…
zFernand0 Nov 30, 2023
7a1eaab
No longer add profile group into cmd tree within Imperative.addAutoGe…
gejohnston Nov 30, 2023
2f807ee
Update packages/imperative/src/config/src/ProfileInfo.ts
zFernand0 Dec 1, 2023
54bbc36
Set profiles directory even though we don't create it
gejohnston Dec 4, 2023
ce80341
Alter tests for removal of BasicProfileManager.initialize()
gejohnston Dec 4, 2023
5023d9d
Merge remote-tracking branch 'origin/next' into no-v1-profiles
gejohnston Dec 4, 2023
cec611c
Remove unused imports
gejohnston Dec 4, 2023
ea34b87
Fix tests for removal of CompleteProfilesGroupBuilder
gejohnston Dec 4, 2023
cf6995f
Reduce command count from 3 to 2 due to removed profiles group
gejohnston Dec 4, 2023
9831531
Use config not v1 profiles in tests - round 1
gejohnston Dec 6, 2023
01a42ce
Remove tests of v1 profiles - round 1
gejohnston Dec 7, 2023
7dd5a40
update typedoc
zFernand0 Dec 8, 2023
dd55a9e
Merge pull request #1983 from zowe/ze-2493
zFernand0 Dec 8, 2023
6efc80d
Bump version to 7.21.0 [ci skip]
zowe-robot Dec 8, 2023
79aca74
Replace 'source' with '.'
gejohnston Dec 12, 2023
af8d59f
Replace bash-style function with sh-style function.
gejohnston Dec 12, 2023
77861de
Replace v1 profile commands with team config files
gejohnston Dec 13, 2023
e6e2b89
chore: Add Linux dev pre-reqs to repo README
traeok Dec 14, 2023
0c94a42
Merge pull request #1989 from zowe/chore/secrets-linux-deps
traeok Dec 14, 2023
f79a0a4
Remove profile creation from a profile read test
gejohnston Dec 14, 2023
1fba202
Remove test of 'profiles list' command.
gejohnston Dec 14, 2023
1210730
Remove tests that write V1 profiles
gejohnston Dec 14, 2023
acbb5ef
Use pre-existing profile files not v1 profile cmds
gejohnston Dec 15, 2023
343af43
Use pre-existing profile files not v1 profile cmds - BasicProfileManager
gejohnston Dec 18, 2023
8f6ca66
Remove profile commands from tests - Cmd.cli.root
gejohnston Dec 18, 2023
00abdf0
Fix for Help and compare on Windows
KevinLoesch1 Dec 19, 2023
117724e
Update changelog
KevinLoesch1 Dec 19, 2023
ec0c171
Fix for unit test failures
KevinLoesch1 Dec 19, 2023
cc6025c
Merge branch 'master' into Fix-for-compare-sequence-numbers
KevinLoesch1 Dec 20, 2023
22e38ca
Fix warning and add new unit test
KevinLoesch1 Dec 20, 2023
6bfbe6f
Merge branch 'Fix-for-compare-sequence-numbers' of https://github.com…
KevinLoesch1 Dec 20, 2023
9d203ec
Remove tests of profile commands
gejohnston Dec 20, 2023
be9c42a
Use pre-existing profile files not v1 profile cmds - CliProfileManage…
gejohnston Dec 20, 2023
2f8e68d
Add certFile and certKeyFile to expected schema
gejohnston Dec 20, 2023
6e0c894
Remove "profiles" command from help snapshot
gejohnston Dec 20, 2023
7d1d4c6
Use pre-existing profile files not v1 profile cmds - AutoGeneratedPro…
gejohnston Dec 21, 2023
40f4868
create.secured-profile subtest was removed, so don't require it
gejohnston Dec 21, 2023
db1499b
Add workflow that adds PRs to GH project with In Progress status
t1m0thyj Jan 2, 2024
f22b001
Update ssh2 (v2)
awharn Jan 2, 2024
aa96e7f
Merge pull request #1998 from zowe/update-ssh2-v2
awharn Jan 2, 2024
80f059e
Bump version to 7.21.1 [ci skip]
zowe-robot Jan 2, 2024
33ca087
Replace profile commands with config init, config list, and config set
gejohnston Jan 2, 2024
7ab146e
Replace profile commands with pre-created profile files and keyring.s…
gejohnston Jan 3, 2024
ff1bec5
Improve error message for null option definition
t1m0thyj Jan 3, 2024
af76bba
Remove unused import and correct changelog
t1m0thyj Jan 3, 2024
eed308b
Removed obsolete snapshots
gejohnston Jan 3, 2024
b04d3f0
Update unit test
KevinLoesch1 Jan 3, 2024
b5aa0ec
Fix more typos in workflow create commands
t1m0thyj Jan 3, 2024
9bdcf27
Remove win32 checks
KevinLoesch1 Jan 3, 2024
9514e3f
Merge branch 'master' into Fix-for-compare-sequence-numbers
KevinLoesch1 Jan 3, 2024
d2ba38c
Update test snapshots
t1m0thyj Jan 3, 2024
e13f4d5
Merge pull request #1993 from zowe/Fix-for-compare-sequence-numbers
KevinLoesch1 Jan 3, 2024
a7c7675
Attempt fixes for system tests
awharn Jan 4, 2024
f4bc5df
Assign author to PR if they have write access
t1m0thyj Jan 4, 2024
45c6d03
Change expect
awharn Jan 4, 2024
392c4d6
doc(cert): Document limitation on cert files
zFernand0 Jan 4, 2024
f611212
update changelog
zFernand0 Jan 4, 2024
7595412
Merge branch 'master' into fix/better-validation-errors
t1m0thyj Jan 4, 2024
dafbce6
Merge pull request #2003 from zowe/fix/better-validation-errors
t1m0thyj Jan 5, 2024
aaba492
Try parsing the JSON
awharn Jan 5, 2024
1d8690a
Additional test fixes
awharn Jan 5, 2024
a058980
Add changelog entry
gejohnston Jan 5, 2024
d703e34
Replace profile commands with pre-created team config
gejohnston Jan 5, 2024
0314cc8
Fix more system tests
awharn Jan 5, 2024
b4f3f04
Fix indent
awharn Jan 5, 2024
48d43b9
Fix copy paste errors
awharn Jan 5, 2024
b1d1564
Merge remote-tracking branch 'origin/next' into no-v1-profiles
gejohnston Jan 5, 2024
d5363b8
keep the note only for cert-file
zFernand0 Jan 5, 2024
69bee01
Merge branch 'master' of https://github.com/zowe/zowe-cli into doc/ce…
zFernand0 Jan 5, 2024
5e5ec87
Rewrite update-project workflow to use shared action
t1m0thyj Jan 5, 2024
511e977
Fix for 'allocate like' not setting correct blocksize
KevinLoesch1 Jan 5, 2024
1488436
fix changelog
zFernand0 Jan 5, 2024
56d8668
Update Files SDK changelog
KevinLoesch1 Jan 5, 2024
c4e00c1
Update tests again
awharn Jan 5, 2024
856833f
Merge branch 'master' into fix-create-like-blocksize-issue
KevinLoesch1 Jan 5, 2024
9155166
Update files messages snapshot
KevinLoesch1 Jan 5, 2024
18555c7
Merge branch 'fix-create-like-blocksize-issue' of https://github.com/…
KevinLoesch1 Jan 5, 2024
101ba64
Merge remote-tracking branch 'origin/update-system-tests' into no-v1-…
gejohnston Jan 5, 2024
a8326b0
Fix lint errors.
gejohnston Jan 5, 2024
8e3b83a
Run project-move-item action when issues are labeled
t1m0thyj Jan 5, 2024
92214da
Retain as much of the original error as possible
awharn Jan 8, 2024
787ba15
Fix status checks
awharn Jan 8, 2024
d9f1b32
Update release config to stop publishing v2 as next
t1m0thyj Jan 8, 2024
efdffce
Update pacote
awharn Jan 8, 2024
93fd878
Attempt more test fixes
awharn Jan 8, 2024
69a7c2e
Merge pull request #2011 from zowe/t1m0thyj-patch-1
t1m0thyj Jan 8, 2024
6dd59c2
Merge branch 'master' into doc/cert-no-password
t1m0thyj Jan 8, 2024
6d455b6
Add causeErrors.message as another source of error message.
gejohnston Jan 8, 2024
ce88630
Merge remote-tracking branch 'origin/no-v1-profiles' into update-syst…
awharn Jan 8, 2024
9140be7
Merge pull request #2006 from zowe/doc/cert-no-password
zFernand0 Jan 8, 2024
b179da5
Revert changes
awharn Jan 8, 2024
3896115
Resolve extra parsing
awharn Jan 8, 2024
ba51c26
Update snapshots and tests
awharn Jan 8, 2024
c4770b3
Adjust test for new error format.
gejohnston Jan 8, 2024
a8db6ac
Bump version to 7.21.2 [ci skip]
zowe-robot Jan 8, 2024
aee0d8b
Move project item when PR draft state changes
t1m0thyj Jan 8, 2024
139aa62
Fix failing unit tests
KevinLoesch1 Jan 8, 2024
abbd83f
Additional changes
awharn Jan 8, 2024
57594f1
Replace snapshots with tests for actual errors
gejohnston Jan 8, 2024
5a2ba3c
Merge branch 'master' into fix-create-like-blocksize-issue
KevinLoesch1 Jan 8, 2024
8b883a2
Merge remote-tracking branch 'origin/next' into no-v1-profiles
gejohnston Jan 8, 2024
c5f8fa2
Merge branch 'master' into ci/add-pr-to-project
t1m0thyj Jan 8, 2024
cbe1e36
Fix the remaining tests
awharn Jan 8, 2024
5775c29
Merge remote-tracking branch 'origin/update-system-tests' into no-v1-…
gejohnston Jan 8, 2024
6ff5779
Merge remote-tracking branch 'origin/update-system-tests' into no-v1-…
gejohnston Jan 8, 2024
42694e2
Update workflow to simplify steps
t1m0thyj Jan 9, 2024
b671192
Merge pull request #1997 from zowe/ci/add-pr-to-project
t1m0thyj Jan 9, 2024
5a54c77
Merge branch 'master' into fix-create-like-blocksize-issue
awharn Jan 9, 2024
888e56a
Merge pull request #2009 from zowe/fix-create-like-blocksize-issue
awharn Jan 9, 2024
189da64
Bump version to 7.21.3 [ci skip]
zowe-robot Jan 9, 2024
00eacec
Add changelog entries
gejohnston Jan 9, 2024
6908828
System test debug hacks for create_team_cfg.sh
gejohnston Jan 9, 2024
1ddd317
Disable lint error on debug hack
gejohnston Jan 9, 2024
eaaa49f
Add quotes around Jenkins spacey directory path
gejohnston Jan 9, 2024
c85d5a7
Avoid using `dirname` with a spacey path
gejohnston Jan 9, 2024
3146ab4
Remove system test debug hacks
gejohnston Jan 9, 2024
d2ebce6
ensure that the property is found
zFernand0 Jan 10, 2024
924a0a8
update tests
zFernand0 Jan 10, 2024
8d908f4
update changelog
zFernand0 Jan 10, 2024
e57fa08
Remove unused variables.
gejohnston Jan 10, 2024
461c540
Merge pull request #2014 from zowe/fix-ze-2493
zFernand0 Jan 10, 2024
0c7797a
Bump version to 7.21.4 [ci skip]
zowe-robot Jan 10, 2024
3c424a2
Check if terminal supports color (ANSI) before using progress bar
awharn Jan 10, 2024
66929ba
Fix secure property names being returned for wrong profile
t1m0thyj Jan 11, 2024
82cca33
Finish tests, changelog, implementation
awharn Jan 11, 2024
869c4df
Remove ESLint overrides
awharn Jan 11, 2024
65aca76
Restore all mocks
awharn Jan 11, 2024
04e7588
Add entry about profile removal to CLI CHANGELOG
gejohnston Jan 12, 2024
0c46f64
Add entry about profile removal to core CHANGELOG
gejohnston Jan 12, 2024
0845cc0
Merge pull request #2016 from zowe/fix/config-secure-props
t1m0thyj Jan 12, 2024
d3a60b9
Merge branch 'master' into remove-progress-bar-with-env-var
t1m0thyj Jan 12, 2024
7f05a98
Changes to use only 1 copy of exitOnFailure.sh
gejohnston Jan 12, 2024
7c03d9b
Merge pull request #2017 from zowe/remove-progress-bar-with-env-var
t1m0thyj Jan 12, 2024
5844542
Add more info to changelog entries
gejohnston Jan 12, 2024
dc36212
Bump version to 7.22.0 [ci skip]
zowe-robot Jan 12, 2024
666e5f7
all changes but halfway through _
Jan 17, 2024
f672c51
final import adjustments
Jan 17, 2024
9399f93
fixing build errors
Jan 17, 2024
b46e2f6
help with some imports
zFernand0 Jan 17, 2024
9e27a8c
logconfig
zFernand0 Jan 17, 2024
5f56512
updates
Jan 17, 2024
8f7f5e6
Merge branch 'orgImp' of https://github.com/zowe/zowe-cli into orgImp
Jan 17, 2024
0025b93
import errs
Jan 17, 2024
2726b6d
final import changes
Jan 17, 2024
adb75e4
update cli-test-util tsconfig to avoid strict checking of imperative
zFernand0 Jan 17, 2024
dd1dc00
fixing a few things in the build
zFernand0 Jan 17, 2024
2f8a529
fix post install script import
Jan 17, 2024
f8e22e0
adding back in operations tests
Jan 17, 2024
f725187
Fix pretest:integration script to ignore non-package dirs
t1m0thyj Jan 17, 2024
99296d5
Update Jest Configuration to run more tests in GHA
awharn Jan 18, 2024
97888d2
Merge remote-tracking branch 'origin/master' into update-next-with-ma…
awharn Jan 18, 2024
905853e
Restore changelog entry
awharn Jan 18, 2024
a4ffd89
Use baseCertKey variable, not hard-coded file name
gejohnston Jan 18, 2024
b687cb8
Switch order of tests for stderr and stdout
gejohnston Jan 18, 2024
ddaddca
Merge pull request #2021 from zowe/update-jest-configuration
zFernand0 Jan 19, 2024
5cb10f5
Merge remote-tracking branch 'origin/next' into no-v1-profiles
gejohnston Jan 19, 2024
bb0fcba
Merge pull request #2013 from zowe/no-v1-profiles
gejohnston Jan 19, 2024
80d26e1
Bump version to 8.1.0-next.202401191548 [ci skip]
zowe-robot Jan 19, 2024
c73207d
Merge remote-tracking branch 'origin/master' into update-next-with-ma…
awharn Jan 19, 2024
2225c33
Merge remote-tracking branch 'origin/next' into update-next-with-master
awharn Jan 19, 2024
e99347a
Revert "Bump version to 8.1.0-next.202401191548"
awharn Jan 19, 2024
d24192b
Merge pull request #2022 from zowe/update-next-with-master
awharn Jan 19, 2024
7847dfb
Bump version to 8.0.0-next.202401191954 [ci skip]
zowe-robot Jan 19, 2024
0b05a98
Merge branch 'orgImp' of https://github.com/zowe/zowe-cli into orgImp
Jan 22, 2024
9de3a1d
changes after merge
Jan 22, 2024
06079ec
linting
Jan 22, 2024
9f8a010
fixing unit test errors
Jan 22, 2024
3b176e9
updating some snaps
ATorrise Jan 29, 2024
5645717
reorganizing file structure a bit -removing cmd from __unit__/imperat…
ATorrise Jan 30, 2024
e5b1edb
subset of import fixes left to make
ATorrise Jan 31, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,16 @@ Versioning conventions for Zowe CLI and Plug-ins| [Versioning Guidelines](./docs
## **Building Zowe CLI From Source**
Zowe CLI requires NPM version 8 and Cargo version 1.72.0 (or newer) to build from source. Before proceeding, check your NPM version with `npm --version` and if it's older than 8.x, update with `npm install -g npm`. To check your version of Cargo, run `cargo --version`. Cargo can be installed using rustup: [https://rustup.rs/](https://rustup.rs/). To update Cargo, run the `rustup update` command.

For developers using Linux, the following packages are required to build Zowe CLI from source:

- Debian/Ubuntu:
- `sudo apt install build-essential libsecret-1-dev`
- Red Hat-based:
- `sudo dnf group install "Development Tools"`
- `sudo dnf install libsecret-devel`
- Arch Linux:
- `sudo pacman -S base-devel libsecret`

The first time that you download Zowe CLI from the GitHub repository, issue the following command to install the required Zowe CLI dependencies and several development tools:

```
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,45 +1,5 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`Imperative Secure Tests Cli Profile Manager Default Credential Management Generic Failure Scenarios should fail if the Credential Manager is unable to retrieve a password 1`] = `
"Command Preparation Failed:
Unable to load the secure field \\"username\\" associated with the profile \\"profile-name-changed\\" of type \\"username-password\\".
Error Details:
Unable to load credentials.
Could not find an entry in the credential vault for the following:
Service = example_with_profiles
Account = username-password_profile-name-changed_username

Possible Causes:
This could have been caused by any manual removal of credentials from your vault.

Resolutions:
Recreate the credentials in the vault for the particular service in the vault.
To recreate credentials, issue a 'profiles create' sub-command with the --ow flag.

"
`;

exports[`Imperative Secure Tests Cli Profile Manager Default Credential Management Generic Failure Scenarios should fail if the Credential Manager is unable to retrieve a password 2`] = `
"Your default profile named profile-name of type username-password was successfully deleted.
Because you deleted it, the default profile for type username-password has been cleared.
To set a new default profile, run \\"zowe profiles set-default username-password <profileName>\\".
"
`;

exports[`Imperative Secure Tests Cli Profile Manager Default Credential Management Generic Success Scenarios should update a password 1`] = `
"
Warning: The command 'profiles update' is deprecated.
Recommended replacement: The 'config set' command
"
`;

exports[`Imperative Secure Tests Cli Profile Manager Default Credential Management Generic Success Scenarios should update a password 2`] = `
"Your default profile named profile-name of type username-password was successfully deleted.
Because you deleted it, the default profile for type username-password has been cleared.
To set a new default profile, run \\"zowe profiles set-default username-password <profileName>\\".
"
`;

exports[`Imperative Secure Tests imperative-test-cli config profiles should list profiles 1`] = `
"secured
base
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*
*/

import { ITestEnvironment, runCliScript } from "../__packages__/cli-test-utils";
import { ITestEnvironment, runCliScript } from "../__packages__/cli-test-utils/src";
import { TestEnvironment } from "../__src__/environment/TestEnvironment";
import { ITestPropertiesSchema } from "../__src__/properties/ITestPropertiesSchema";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
/* eslint-disable max-len */

describe("Imperative Secure Tests", () => {
require("./imperative.integration.subtest");
require("./../../packages/imperative/__tests__/src/packages/profiles/__integration__/CliProfileManager.credentials.integration.subtest");
require("./../../packages/imperative/__tests__/src/packages/imperative/__integration__/PluginManagementFacility.integration.subtest");
require("./../../packages/imperative/__tests__/__integration__/imperative/__tests__/__integration__/cli/config/init/cli.imperative-test-cli.config.init.integration.subtest");
Expand All @@ -23,7 +22,6 @@ describe("Imperative Secure Tests", () => {
require("./../../packages/imperative/__tests__/__integration__/imperative/__tests__/__integration__/cli/config/profiles/cli.imperative-test-cli.config.profiles.integration.subtest");
require("./../../packages/imperative/__tests__/__integration__/imperative/__tests__/__integration__/cli/config/secure/cli.imperative-test-cli.config.secure.integration.subtest");
require("./../../packages/imperative/__tests__/__integration__/imperative/__tests__/__integration__/cli/config/set/cli.imperative-test-cli.config.set.integration.subtest");
require("./../../packages/imperative/__tests__/__integration__/imperative/__tests__/__integration__/cli/profiles/cli.imperative-test-cli.profiles.create.secured-profile.integration.subtest");
require("./../../packages/imperative/__tests__/__integration__/imperative/__tests__/__integration__/cli/test/cli.imperative-test-cli.test.config-auto-store.integration.subtest");
require("./../../packages/imperative/__tests__/__integration__/imperative/__tests__/__integration__/cli/test/cli.imperative-test-cli.test.config-override.integration.subtest");
});
Expand Down
4 changes: 2 additions & 2 deletions __tests__/__packages__/cli-test-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@zowe/cli-test-utils",
"version": "8.0.0-next.202401162202",
"version": "8.0.0-next.202401191954",
"description": "Test utilities package for Zowe CLI plug-ins",
"author": "Zowe",
"license": "EPL-2.0",
Expand Down Expand Up @@ -43,7 +43,7 @@
"devDependencies": {
"@types/js-yaml": "^4.0.0",
"@types/uuid": "^8.3.0",
"@zowe/imperative": "8.0.0-next.202401162202"
"@zowe/imperative": "8.0.0-next.202401191954"
},
"peerDependencies": {
"@zowe/imperative": "^8.0.0-next"
Expand Down
15 changes: 4 additions & 11 deletions __tests__/__packages__/cli-test-utils/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,11 @@
{
"extends": "../../../tsconfig.json",
"compilerOptions": {
/* Visit https://aka.ms/tsconfig.json to read more about this file */
"target": "es5",
"module": "commonjs",
"declaration": true,
"outDir": "./lib",
"rootDir": "./src",
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"types": [
"node",
"jest"
]
"rootDir": "./src",
"esModuleInterop": true,
"target": "es5",
}
}
12 changes: 12 additions & 0 deletions __tests__/__scripts__/exitOnFailure.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/sh

# function to exit if we encounter a bad return code
exitOnFailure () {
failureMsg=${1:?"First parm (failureMsg) is required."}
actualExitCode=${2:?"Second parm (actualExitCode) is required."}
goodExitCode=${3:-0}
if [ $actualExitCode != $goodExitCode ]; then
echo `basename $0`": $failureMsg" 1>&2
exit $actualExitCode
fi
}
2 changes: 1 addition & 1 deletion __tests__/__src__/environment/TestEnvironment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import * as nodePath from "path";
import { AbstractSession, Session } from "@zowe/imperative";

import { ITestPropertiesSchema } from "../properties/ITestPropertiesSchema";
import { ISetupEnvironmentParms, ITestEnvironment, TestEnvironment as BaseTestEnvironment } from "../../__packages__/cli-test-utils";
import { ISetupEnvironmentParms, ITestEnvironment, TestEnvironment as BaseTestEnvironment } from "../../__packages__/cli-test-utils/src";
import { SshSession } from "../../../packages/zosuss/src/SshSession";

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*
*/

import { ITestEnvironment, TempTestProfiles, runCliScript } from "../../../__packages__/cli-test-utils";
import { ITestEnvironment, TempTestProfiles, runCliScript } from "../../../__packages__/cli-test-utils/src";
import { TestEnvironment } from "../../../__src__/environment/TestEnvironment";
import { ITestPropertiesSchema } from "../../../__src__/properties/ITestPropertiesSchema";
import { join } from "path";
Expand Down
7 changes: 5 additions & 2 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ const sharedConfig = {
"testRegex": "__tests__.*\\.(spec|test)\\.ts$",
"moduleFileExtensions": [
"ts",
"js"
"js",
"json"
],
"testEnvironment": "node",
"testPathIgnorePatterns": [
Expand Down Expand Up @@ -149,5 +150,7 @@ module.exports = {
"!**/node_modules/**",
"!**/lib/**"
],
"maxWorkers": "67%", // You may need to specify maxWorkers if you run out of RAM
// You may need to specify maxWorkers if you run out of RAM
// GHA should use 75% due to high ram, low core count, end user systems ~67%
"maxWorkers": process.env.GITHUB_ACTIONS != null ? "75%" : "67%",
}
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "8.0.0-next.202401162202",
"version": "8.0.0-next.202401191954",
"command": {
"publish": {
"ignoreChanges": [
Expand Down
Loading
Loading