Skip to content

Commit

Permalink
chore(deps): bump EnricoMi/publish-unit-test-result-action from 2.17.…
Browse files Browse the repository at this point in the history
…0 to 2.17.1 (#542)
  • Loading branch information
dependabot[bot] authored Sep 10, 2024
1 parent ab427ac commit 853eb9e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/zxc-e2e-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ jobs:
if-no-files-found: error

- name: Publish E2E Test Report
uses: EnricoMi/publish-unit-test-result-action@567cc7f8dcea3eba5da355f6ebc95663310d8a07 # v2.17.0
uses: EnricoMi/publish-unit-test-result-action@82082dac68ad6a19d980f8ce817e108b9f496c2a # v2.17.1
if: ${{ steps.npm-deps.conclusion == 'success' && !cancelled() }}
with:
check_name: ${{ inputs.coverage-report-name }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/zxc-unit-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,14 @@ jobs:
run: npm test

- name: Publish Windows Unit Test Report
uses: EnricoMi/publish-unit-test-result-action/windows/bash@567cc7f8dcea3eba5da355f6ebc95663310d8a07 # v2.17.0
uses: EnricoMi/publish-unit-test-result-action/windows/bash@82082dac68ad6a19d980f8ce817e108b9f496c2a # v2.17.1
if: ${{ runner.os == 'Windows' && steps.npm-deps.conclusion == 'success' && !cancelled() }}
with:
check_name: 'Unit Test Results - ${{ runner.os }}'
files: "junit.xml"

- name: Publish Linux Unit Test Report
uses: EnricoMi/publish-unit-test-result-action@567cc7f8dcea3eba5da355f6ebc95663310d8a07 # v2.17.0
uses: EnricoMi/publish-unit-test-result-action@82082dac68ad6a19d980f8ce817e108b9f496c2a # v2.17.1
if: ${{ runner.os == 'linux' && steps.npm-deps.conclusion == 'success' && !cancelled() }}
with:
check_name: 'Unit Test Results - ${{ runner.os }}'
Expand Down
12 changes: 7 additions & 5 deletions test/e2e/commands/cluster.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ import {
logging
} from '../../../src/core/index.mjs'
import { flags } from '../../../src/commands/index.mjs'
import { getNodeLogs, sleep } from '../../../src/core/helpers.mjs'
import { sleep } from '../../../src/core/helpers.mjs'
import * as version from '../../../version.mjs'

describe('ClusterCommand', () => {
Expand All @@ -58,17 +58,19 @@ describe('ClusterCommand', () => {

const bootstrapResp = bootstrapTestVariables(testName, argv)
const k8 = bootstrapResp.opts.k8
const accountManager = bootstrapResp.opts.accountManager
const configManager = bootstrapResp.opts.configManager
const chartManager = bootstrapResp.opts.chartManager

const clusterCmd = bootstrapResp.cmd.clusterCmd

afterAll(async () => {
await chartManager.isChartInstalled(constants.FULLSTACK_SETUP_NAMESPACE, constants.FULLSTACK_CLUSTER_SETUP_CHART)
await getNodeLogs(k8, namespace)
await k8.deleteNamespace(namespace)
await accountManager.close()
argv[flags.clusterSetupNamespace.name] = constants.FULLSTACK_SETUP_NAMESPACE
configManager.update(argv, true)
await clusterCmd.setup(argv) // restore fullstack-cluster-setup for other e2e tests to leverage
do {
await sleep(5000)
} while (!await chartManager.isChartInstalled(constants.FULLSTACK_SETUP_NAMESPACE, constants.FULLSTACK_CLUSTER_SETUP_CHART))
}, 180000)

beforeEach(() => {
Expand Down

0 comments on commit 853eb9e

Please sign in to comment.