Skip to content

Commit 347e563

Browse files
author
Mark Pollack
committed
Cross-SDK workflow: drop --allow-empty, every leg now selects committed cells
1 parent 55e4c5b commit 347e563

1 file changed

Lines changed: 4 additions & 11 deletions

File tree

‎.github/workflows/cross-sdk.yml‎

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -53,22 +53,19 @@ jobs:
5353
# java runs as one leg: the Java <-> Java cells, the legacy Java pair, conformance, load.
5454
# kotlin has no Streamable HTTP; its Gradle toolchain is JDK 21 while the SDK and the
5555
# Java programs stay on 17 (the last version listed is the default).
56-
# allow-empty: a peer's cells exist only once its language is enabled in matrix.json and
57-
# the cells are generated; until then its stdio and ws legs select nothing. Drop it for a
58-
# peer whose cells are committed.
5956
peers="$(jq -c . <<'JSON'
6057
[
6158
{ "peer": "java", "java": "17", "only": "interop-java-java,x-java-java-*,conf-*,load-*" },
62-
{ "peer": "typescript", "sdk": "typescript-sdk", "java": "17", "allow-empty": true, "node": true,
59+
{ "peer": "typescript", "sdk": "typescript-sdk", "java": "17", "node": true,
6360
"transports": ["stdio", "http", "ws"], "legacy": "interop-ts-*",
6461
"cache-paths": "integration-testing/.cache/peers/typescript-sdk@*\n~/.npm" },
65-
{ "peer": "rust", "sdk": "rust-sdk", "java": "17", "allow-empty": true, "rust": true,
62+
{ "peer": "rust", "sdk": "rust-sdk", "java": "17", "rust": true,
6663
"transports": ["stdio", "http", "ws"], "legacy": "interop-rust-*",
6764
"cache-paths": "integration-testing/.cache/peers/rust-sdk@*\nintegration-testing/.cache/build\n~/.cargo/registry/index\n~/.cargo/registry/cache\n~/.cargo/git/db" },
68-
{ "peer": "python", "sdk": "python-sdk", "java": "17", "allow-empty": true, "python": true,
65+
{ "peer": "python", "sdk": "python-sdk", "java": "17", "python": true,
6966
"transports": ["stdio", "http", "ws"], "legacy": "interop-python-*",
7067
"cache-paths": "integration-testing/.cache/peers/python-sdk@*" },
71-
{ "peer": "kotlin", "sdk": "kotlin-sdk", "java": "21\n17", "gradle": true, "allow-empty": true,
68+
{ "peer": "kotlin", "sdk": "kotlin-sdk", "java": "21\n17", "gradle": true,
7269
"transports": ["stdio", "ws"],
7370
"cache-paths": "integration-testing/.cache/peers/kotlin-sdk@*\n~/.gradle/caches\n~/.gradle/wrapper" }
7471
]
@@ -171,12 +168,10 @@ jobs:
171168
PEERS_REF: ${{ github.event.inputs.peers-ref || '' }}
172169
PEER_OVERRIDES: ${{ github.event.inputs.peer-overrides || '' }}
173170
ONLY: ${{ matrix.only }}
174-
ALLOW_EMPTY: ${{ matrix.allow-empty }}
175171
run: |
176172
args=(--only "$ONLY" --prepare-only)
177173
if [ -n "$PEERS_REF" ]; then args+=(--peers-ref "$PEERS_REF"); fi
178174
for o in $PEER_OVERRIDES; do args+=(--peer "$o"); done
179-
if [ "$ALLOW_EMPTY" = "true" ]; then args+=(--allow-empty); fi
180175
integration-testing/scripts/run-all.sh "${args[@]}"
181176
182177
- name: Upload preparation logs
@@ -279,13 +274,11 @@ jobs:
279274
PEERS_REF: ${{ github.event.inputs.peers-ref || '' }}
280275
PEER_OVERRIDES: ${{ github.event.inputs.peer-overrides || '' }}
281276
ONLY: ${{ matrix.only }}
282-
ALLOW_EMPTY: ${{ matrix.allow-empty }}
283277
RUN_LABEL: ${{ matrix.leg }}
284278
run: |
285279
args=(--only "$ONLY")
286280
if [ -n "$PEERS_REF" ]; then args+=(--peers-ref "$PEERS_REF"); fi
287281
for o in $PEER_OVERRIDES; do args+=(--peer "$o"); done
288-
if [ "$ALLOW_EMPTY" = "true" ]; then args+=(--allow-empty); fi
289282
integration-testing/scripts/run-all.sh "${args[@]}"
290283
291284
- name: Upload scenario logs

0 commit comments

Comments
 (0)