Skip to content

Commit

Permalink
For containerized tests use mosquitto on host
Browse files Browse the repository at this point in the history
  • Loading branch information
OleksandrChaika committed Jun 20, 2023
1 parent eaf1b3c commit cd51467
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/actions/build-native-binary/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit cd51467

Please sign in to comment.