From a45d2ccd28639327c9f5088f3a1f6212d54ed6e8 Mon Sep 17 00:00:00 2001 From: Timothy Johnson Date: Thu, 26 Dec 2024 08:49:44 -0500 Subject: [PATCH] Try to debug integration tests on Windows Signed-off-by: Timothy Johnson --- .github/workflows/zowe-cli.yml | 13 +++++++------ package.json | 2 +- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/zowe-cli.yml b/.github/workflows/zowe-cli.yml index b5a6b4992..cfb37bf57 100644 --- a/.github/workflows/zowe-cli.yml +++ b/.github/workflows/zowe-cli.yml @@ -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 }} @@ -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 diff --git a/package.json b/package.json index dc705bb40..3cf46e9d2 100644 --- a/package.json +++ b/package.json @@ -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",