Skip to content

Commit

Permalink
Try to debug integration tests on Windows
Browse files Browse the repository at this point in the history
Signed-off-by: Timothy Johnson <[email protected]>
  • Loading branch information
t1m0thyj committed Dec 26, 2024
1 parent 27ef793 commit a45d2cc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/zowe-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,12 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [18.x, 20.x, 22.x]
# node-version: [18.x, 20.x, 22.x]
node-version: [22.x]
os:
- windows-latest
- ubuntu-latest
- ${{ github.event.inputs.macos-type || 'macos-14'}}
# - ubuntu-latest
# - ${{ github.event.inputs.macos-type || 'macos-14'}}

env:
OS: ${{ matrix.os }}
Expand Down Expand Up @@ -124,9 +125,9 @@ jobs:
if: ${{ steps.setup-binary.outcome == 'success' && (github.event.inputs.test-type == 'binary' || github.event_name == 'push') }}
run: cargo test ${{ github.event.inputs.binary-type == 'release' && '--release' || '' }} --manifest-path=zowex/Cargo.toml -- --nocapture

- name: Unit Tests
if: ${{ always() && steps.build.outcome == 'success' }}
run: npm run test:unit
# - name: Unit Tests
# if: ${{ always() && steps.build.outcome == 'success' }}
# run: npm run test:unit

- name: Unlock Keyring
id: unlock-keyring
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"test:cleanResults": "rimraf __tests__/__results__",
"test:cleanUpProfiles": "sh __tests__/__scripts__/clean_profiles.sh",
"pretest:integration": "node scripts/sampleCliTool.js install",
"test:integration": "env-cmd -f __tests__/__resources__/env/integration.env --no-override jest \".*__tests__.*\\**\\.integration\\.(spec|test)\\.ts$\" --coverage false",
"test:integration": "env-cmd -f __tests__/__resources__/env/integration.env --no-override jest \"packages/cli/__tests__/zosjobs/__integration__/submit/.*\\.integration\\.(spec|test)\\.ts$\" --coverage false",
"posttest:integration": "node scripts/sampleCliTool.js uninstall",
"test:system": "env-cmd -f __tests__/__resources__/env/system.env --no-override jest \".*__tests__.*\\**\\.system\\.(spec|test)\\.ts$\" --coverage false",
"test:unit": "env-cmd -f __tests__/__resources__/env/unit.env --no-override jest \".*__tests__.*\\**\\.unit\\.(spec|test)\\.ts$\" --coverage",
Expand Down

0 comments on commit a45d2cc

Please sign in to comment.