Skip to content

Commit 3660633

Browse files
run quic-go and quant interop for PRs
1 parent 766d196 commit 3660633

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/interop.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: interop
22
on:
33
schedule:
44
- cron: "0 */8 * * *" # every 8h
5+
pull_request:
6+
branches:
7+
- master
58

69
# Cache key for caching the Wireshark build.
710
# To trigger a rebuild of Wireshark increment this value.
@@ -87,8 +90,14 @@ jobs:
8790
echo "::set-output name=clients::$CLIENTS"
8891
- name: Determine Docker images
8992
id: set-images
93+
env:
94+
EVENT_NAME: ${{ github.event_name }}
9095
run: |
91-
IMAGES=$(jq -c 'keys_unsorted' implementations.json)
96+
if [[ "$EVENT_NAME"=="pull_request" ]]; then
97+
IMAGES="['quic-go','quant']"
98+
else
99+
IMAGES=$(jq -c 'keys_unsorted' implementations.json)
100+
fi
92101
echo $IMAGES
93102
echo "::set-output name=images::$IMAGES"
94103
docker-pull-tools:
@@ -143,6 +152,7 @@ jobs:
143152
path: ${{ matrix.image }}.tar.gz
144153
if-no-files-found: error
145154
tests:
155+
if: ${{ github.event_name != 'pull_request' }}
146156
needs: [ wireshark, config, docker-pull-tools, docker-pull-images ]
147157
runs-on: ubuntu-latest
148158
continue-on-error: true
@@ -230,6 +240,7 @@ jobs:
230240
${{ matrix.server }}_${{ matrix.client }}_results.json
231241
${{ matrix.server }}_${{ matrix.client }}_measurements.json
232242
aggregate:
243+
if: ${{ github.event_name != 'pull_request' }}
233244
needs: [ config, tests ]
234245
runs-on: ubuntu-latest
235246
env:

0 commit comments

Comments
 (0)