Skip to content

Commit f3dfb21

Browse files
Merge pull request #4077 from RedisInsight/e2e/feature/reduce_e2e_docker_nodes
2 parents 9bf02b6 + 4026b1d commit f3dfb21

File tree

3 files changed

+15
-8
lines changed

3 files changed

+15
-8
lines changed

.github/workflows/pipeline-build-macos.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,14 @@ jobs:
8181
if: inputs.target != vars.ALL
8282
run: |
8383
unset CSC_LINK
84-
yarn package:stage --mac ${{ inputs.target }}
84+
target=""
85+
86+
if [ ${{ startsWith(inputs.target, 'macos:') }} == 'true' ]; then
87+
inputsTarget=${{inputs.target}}
88+
target=--${inputsTarget#macos:}
89+
fi
90+
91+
yarn package:stage --mac $target
8592
rm -rf release/mac
8693
8794
- name: Repack dmg to tar

.github/workflows/tests-e2e-docker.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
fail-fast: false
4848
matrix:
4949
# Number of threads to run tests
50-
parallel: [0, 1, 2, 3]
50+
parallel: [0, 1, 2]
5151

5252
steps:
5353
- uses: actions/checkout@v4
@@ -75,7 +75,7 @@ jobs:
7575
- name: Generate short list of the test files
7676
working-directory: ./tests/e2e
7777
run: |
78-
testFiles=$(find tests/web -type f -name '*.e2e.ts' | sort | awk "NR % 4 == ${{ matrix.parallel }}")
78+
testFiles=$(find tests/web -type f -name '*.e2e.ts' | sort | awk "NR % 3 == ${{ matrix.parallel }}")
7979
echo $testFiles
8080
8181
# Multi-Line value

.github/workflows/tests.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ jobs:
9292
with:
9393
short_rte_list: ${{ inputs.short_rte_list || true }}
9494
redis_client: ${{ inputs.redis_client }}
95-
debug: ${{ inputs.debug }}
95+
debug: ${{ inputs.debug || false }}
9696

9797
# E2E Approve
9898
e2e-approve:
@@ -111,15 +111,15 @@ jobs:
111111
needs: e2e-approve
112112
secrets: inherit
113113
with:
114-
debug: ${{ inputs.debug }}
114+
debug: ${{ inputs.debug || false }}
115115
only_docker: true
116116

117117
e2e-docker-tests:
118118
needs: build-docker
119119
uses: ./.github/workflows/tests-e2e-docker.yml
120120
secrets: inherit
121121
with:
122-
debug: ${{ inputs.debug }}
122+
debug: ${{ inputs.debug || false }}
123123

124124

125125
# E2E AppImage
@@ -129,11 +129,11 @@ jobs:
129129
secrets: inherit
130130
with:
131131
target: linux:appimage:x64
132-
debug: ${{ inputs.debug }}
132+
debug: ${{ inputs.debug || false }}
133133

134134
e2e-appimage-tests:
135135
needs: build-appimage
136136
uses: ./.github/workflows/tests-e2e-appimage.yml
137137
secrets: inherit
138138
with:
139-
debug: ${{ inputs.debug }}
139+
debug: ${{ inputs.debug || false }}

0 commit comments

Comments
 (0)