Skip to content

Commit 79e2481

Browse files
authored
Merge pull request #272 from AlexLanzano/ci-test-fix
Fix CI to have example client run with and without --test option
2 parents 5172794 + 28a77ff commit 79e2481

1 file changed

Lines changed: 2 additions & 7 deletions

File tree

.github/workflows/build-and-run-examples.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jobs:
1313
transport: [ 'tcp', 'shm', 'dma' ]
1414
asan: [ 'ASAN=1', 'ASAN=0' ]
1515
debug: [ '', 'DEBUG_VERBOSE=1' ]
16+
test: [ '', '--test' ]
1617
runs-on: ubuntu-latest
1718
timeout-minutes: 5
1819

@@ -54,13 +55,7 @@ jobs:
5455
- name: Run POSIX client
5556
run: |
5657
cd examples/posix/wh_posix_client
57-
./Build/wh_posix_client.elf --type ${{ matrix.transport }}
58-
59-
- name: Run POSIX demo test
60-
if: matrix.transport == 'tcp'
61-
run: |
62-
cd examples/posix/wh_posix_client
63-
./Build/wh_posix_client.elf --type ${{ matrix.transport }} --test
58+
./Build/wh_posix_client.elf --type ${{ matrix.transport }} ${{ matrix.test }}
6459
6560
# Optional: Kill the server process if it doesn't exit on its own
6661
- name: Cleanup POSIX server

0 commit comments

Comments
 (0)