File tree 2 files changed +7
-2
lines changed
2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,9 @@ Supported Kubernetes version can be inspected on the official Replicated documen
35
35
- ` test-parameter ` (defaults to ` smoke ` )
36
36
- ` replicated-api-token ` (required)
37
37
38
+ > [ !NOTE]
39
+ > ` test-parameter ` maps to a specific test * name* , not to a single test with all dimensions resolved.
40
+
38
41
### Outputs
39
42
40
43
- ` start-time `
Original file line number Diff line number Diff line change @@ -75,11 +75,13 @@ runs:
75
75
CLUSTER_TTL=$(yq -er '."cluster-ttl" // "4h"' ./tests/infrastructure.yaml)
76
76
INSTANCE_NODES=$(yq -er '.nodes // 1' ./tests/infrastructure.yaml)
77
77
INSTANCE_DISK=$(yq -er '.disk // 50' ./tests/infrastructure.yaml)
78
+ TEST_PARALLELISM=$(yq -er '.parallelism // 2' ./tests/infrastructure.yaml)
78
79
79
80
echo "INSTANCE_TYPE=$INSTANCE_TYPE" | tee -a "$GITHUB_ENV"
80
81
echo "CLUSTER_TTL=$CLUSTER_TTL" | tee -a "$GITHUB_ENV"
81
82
echo "INSTANCE_NODES=$INSTANCE_NODES" | tee -a "$GITHUB_ENV"
82
83
echo "INSTANCE_DISK=$INSTANCE_DISK" | tee -a "$GITHUB_ENV"
84
+ echo "TEST_PARALLELISM=$TEST_PARALLELISM" | tee -a "$GITHUB_ENV"
83
85
84
86
############################
85
87
# Validate Test Parameters #
@@ -217,9 +219,9 @@ runs:
217
219
python ./scripts/run-tests --skip-tests --operator "$OPERATOR_NAME=$OPERATOR_VERSION"
218
220
219
221
if [ "$TEST_RUN" == "all" ]; then
220
- python ./scripts/run-tests --skip-release --log-level debug
222
+ python ./scripts/run-tests --skip-release --log-level debug --parallel "$TEST_PARALLELISM"
221
223
else
222
- python ./scripts/run-tests --skip-release --log-level debug "--$TEST_RUN" "$TEST_PARAMETER"
224
+ python ./scripts/run-tests --skip-release --log-level debug "--$TEST_RUN" "$TEST_PARAMETER" --parallel "$TEST_PARALLELISM"
223
225
fi
224
226
225
227
- name : Record Test End Time
You can’t perform that action at this time.
0 commit comments