1name: "Run openssl quic interop testing"
2
3on:
4  workflow_run:
5    workflows: ["Build openssl interop container from master"]
6    types: [completed]
7  workflow_dispatch:
8
9jobs:
10  run_quic_interop:
11    strategy:
12      matrix:
13        tests: [http3, transfer, handshake, retry, chacha20, resumption]
14        servers: [quic-go, ngtcp2, mvfst, quiche, nginx, msquic, haproxy]
15      fail-fast: false
16    runs-on: ubuntu-latest
17    steps:
18      - uses: actions/checkout@v4
19        with:
20         repository: 'quic-interop/quic-interop-runner'
21         fetch-depth: 0
22      - name: Install dependencies
23        run: |
24          pip install -r requirements.txt
25          sudo add-apt-repository ppa:wireshark-dev/stable
26          sudo apt-get update
27          sudo apt-get install -y tshark
28      - name: Patch implementations file
29        run: |
30          jq '.openssl = { image: "quay.io/openssl-ci/openssl-quic-interop"
31                         , url: "https://github.com/openssl/openssl"
32                         , role: "client"
33                         }' ./implementations.json > ./implementations.tmp
34          mv ./implementations.tmp implementations.json
35      - name: "run interop"
36        run: |
37          python3 ./run.py -c openssl -t ${{ matrix.tests }} -s ${{ matrix.servers }} --log-dir ./logs -d
38
39
40