Skip to content

feat: support fine tune quic_opts #955

feat: support fine tune quic_opts

feat: support fine tune quic_opts #955

Workflow file for this run

name: Run test case
on:
push:
pull_request:
release:
types:
- published
- prereleased
jobs:
run_test_case:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
docker_image:
- "ghcr.io/emqx/emqx-builder/5.1-4:1.14.5-25.3.2-2-ubuntu22.04"
- "ghcr.io/emqx/emqx-builder/5.2-7:1.15.7-26.1.2-1-ubuntu22.04"
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: recursive
- name: work around https://github.com/actions/checkout/issues/766
run: git config --global --add safe.directory "${GITHUB_WORKSPACE}"
- name: Run tests
env:
DOCKER_IMAGE: "${{ matrix.docker_image }}"
shell: bash
run: |
set -e
docker build -t testimage --build-arg BUILD_FROM=${DOCKER_IMAGE} -f Dockerfile.test .
docker network create --ipv6 --subnet 2001:0DB8::/112 testnet
docker run -d --net testnet --name testcontainer testimage bash -c "tail -f /dev/null"
docker exec testcontainer bash -c 'make eunit'
docker exec testcontainer bash -c 'make ct'
docker exec testcontainer bash -c 'make cover'
# @TODO rebar3 tar does not include appup of dep apps
# docker exec testcontainer bash -c 'make relup-test'
# copy the build dir to host working dir for following build steps
docker cp testcontainer:/_w/_build .
docker rm -f testcontainer
- uses: actions/upload-artifact@v3
if: always()
with:
name: logs
path: _build/test/logs
- uses: actions/upload-artifact@v3
with:
name: cover
path: _build/test/cover