From cd514678ebee600f96b82462d79cfbbbdd768858 Mon Sep 17 00:00:00 2001 From: OleksandrChaika Date: Tue, 20 Jun 2023 19:51:01 +0200 Subject: [PATCH] For containerized tests use mosquitto on host --- .github/actions/build-native-binary/action.yaml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/actions/build-native-binary/action.yaml b/.github/actions/build-native-binary/action.yaml index 1cadd3d..cd8e185 100644 --- a/.github/actions/build-native-binary/action.yaml +++ b/.github/actions/build-native-binary/action.yaml @@ -92,9 +92,6 @@ runs: if: ${{ inputs.arch == 'amd64' }} run: | cd dist_${{ inputs.arch }}/utest - ls -la - chmod +x TestSelfUpdateAgent - uname -a file TestSelfUpdateAgent ./TestSelfUpdateAgent > ../../unit_tests_report_${{ inputs.arch }}.txt shell: bash @@ -107,11 +104,13 @@ runs: distro: ubuntu_latest dockerRunArgs: | --volume "${PWD}:/sua" + --net=host shell: /bin/sh + install: | + apt-get -y update + apt-get -y install mosquitto-clients run: | cd /sua/dist_arm64/utest - ls -la ../lib - ldd TestSelfUpdateAgent LD_LIBRARY_PATH=../lib ./TestSelfUpdateAgent > ../../unit_tests_report_arm64.txt - name: Collect code-coverage for amd64