From ec2c57b13f6c2c711e11b357c4107338c9e9340d Mon Sep 17 00:00:00 2001 From: Ivan Dyachkov Date: Fri, 24 May 2024 11:29:53 +0200 Subject: [PATCH] ci: fix package test --- .github/workflows/release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2b24b0f..207cac1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -95,7 +95,9 @@ jobs: mkdir test-package cp *.tar.gz test-package/ cd test-package - docker run -t --rm -v $(pwd):/emqttb -w /emqttb $EMQX_BUILDER bash -c 'tar xfz emqttb*.tar.gz && timeout -s 9 5s bin/emqttb @pub -t t/%n' + docker network create emqttb + docker run -d --name emqx --network emqttb emqx/emqx:latest + docker run -t --rm -v $(pwd):/emqttb -w /emqttb --network emqttb $EMQX_BUILDER bash -c 'tar xfz emqttb*.tar.gz && bin/emqttb --loiter 5s @pub -t test @g --host emqx' - if: failure() run: cat rebar3.crashdump - uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3