diff --git a/.github/workflows/quic-interop-aws-lc.yml b/.github/workflows/quic-interop-aws-lc.yml index 1e0220d71..f9144d9ed 100644 --- a/.github/workflows/quic-interop-aws-lc.yml +++ b/.github/workflows/quic-interop-aws-lc.yml @@ -73,5 +73,18 @@ jobs: git clone https://github.com/quic-interop/quic-interop-runner cd quic-interop-runner pip install -r requirements.txt --break-system-packages - python run.py -l logs -r haproxy=ghcr.io/${{ github.repository }}:aws-lc -t ${{ matrix.suite.tests }} -c ${{ matrix.suite.client }} -s haproxy + python run.py -j result.json -l logs -r haproxy=ghcr.io/${{ github.repository }}:aws-lc -t ${{ matrix.suite.tests }} -c ${{ matrix.suite.client }} -s haproxy + - name: Delete succeeded logs + if: failure() + run: | + cd quic-interop-runner/logs/haproxy_${{ matrix.suite.client }} + cat ../../result.json | jq -r '.results[][] | select(.result=="succeeded") | .name' | xargs rm -rf + + - name: Logs upload + if: failure() + uses: actions/upload-artifact@v4 + with: + name: logs + path: quic-interop-runner/logs/ + retention-days: 6 \ No newline at end of file diff --git a/.github/workflows/quic-interop-libressl.yml b/.github/workflows/quic-interop-libressl.yml index 2a635bcfa..d50a2a365 100644 --- a/.github/workflows/quic-interop-libressl.yml +++ b/.github/workflows/quic-interop-libressl.yml @@ -73,5 +73,18 @@ jobs: git clone https://github.com/quic-interop/quic-interop-runner cd quic-interop-runner pip install -r requirements.txt --break-system-packages - python run.py -l logs -r haproxy=ghcr.io/${{ github.repository }}:libressl -t ${{ matrix.suite.tests }} -c ${{ matrix.suite.client }} -s haproxy + python run.py -j result.json -l logs -r haproxy=ghcr.io/${{ github.repository }}:libressl -t ${{ matrix.suite.tests }} -c ${{ matrix.suite.client }} -s haproxy + - name: Delete succeeded logs + if: failure() + run: | + cd quic-interop-runner/logs/haproxy_${{ matrix.suite.client }} + cat ../../result.json | jq -r '.results[][] | select(.result=="succeeded") | .name' | xargs rm -rf + + - name: Logs upload + if: failure() + uses: actions/upload-artifact@v4 + with: + name: logs + path: quic-interop-runner/logs/ + retention-days: 6 \ No newline at end of file