Skip to content

Commit 5be0951

Browse files
authored
Fix first step of the matrix (#1381)
1 parent 2bda3c7 commit 5be0951

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/composites/maven-build-with-dry-run-for-tests/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ runs:
88
run: |
99
# find all the tests that are supposed to be run, but don't actually run them.
1010
# this is achieved via: 'spring.cloud.k8s.skip.tests=true' in DisabledTestsCondition
11-
./mvnw clean install -Dskip.build.image=true -Dspring.cloud.k8s.skip.tests=true \
11+
./mvnw clean install -B -Dskip.build.image=true -Dspring.cloud.k8s.skip.tests=true \
1212
-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=error \
1313
-T 1C > /tmp/tests.txt
1414

.github/workflows/composites/test-bounds/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ runs:
66
- name: test-bounds
77
shell: bash
88
run: |
9-
PLAIN_TEST_CLASSNAMES=($(cat /tmp/tests.txt | grep 'spring.cloud.k8s.test.to.run' | awk '{print $3}'))
9+
PLAIN_TEST_CLASSNAMES=($(cat /tmp/tests.txt | grep -o 'spring.cloud.k8s.test.to.run -> org.*' | awk '{print $3}'))
1010
NUMBER_OF_TESTS=${#PLAIN_TEST_CLASSNAMES[@]}
1111
1212
echo "current index : ${CURRENT_INDEX}"

.github/workflows/maven.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ jobs:
125125
CURRENT_INDEX: ${{ matrix.current_index }}
126126
run: |
127127
128-
PLAIN_TEST_CLASSNAMES=($(cat /tmp/tests.txt | grep 'spring.cloud.k8s.test.to.run' | awk '{print $3}'))
128+
PLAIN_TEST_CLASSNAMES=($(cat /tmp/tests.txt | grep -o 'spring.cloud.k8s.test.to.run -> org.*' | awk '{print $3}'))
129129
IFS=$'\n'
130130
SORTED_TEST_CLASSNAMES=( $(sort <<< "${PLAIN_TEST_CLASSNAMES[*]}") )
131131
unset IFS

0 commit comments

Comments
 (0)