Skip to content

Commit

Permalink
ci: add fragment test
Browse files Browse the repository at this point in the history
  • Loading branch information
jean-roland committed Dec 14, 2023
1 parent 45bb6af commit c0b674d
Showing 1 changed file with 24 additions and 2 deletions.
26 changes: 24 additions & 2 deletions .github/workflows/build-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,34 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Build project
- name: Build project and run test
run: |
sudo apt install -y ninja-build
CMAKE_GENERATOR=Ninja make
python3 ./build/tests/raweth.py --reth $Z_FEATURE_RAWETH_TRANSPORT
timeout-minutes: 5
env:
Z_FEATURE_RAWETH_TRANSPORT: ${{ matrix.feature_reth }}


fragment_test:
name: Test multicast and unicast fragmentation
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Run docker image
run: docker run --name zenoh_router --init --net host -d eclipse/zenoh:master

- name: Build project and run test
run: |
sudo apt install -y ninja-build
CMAKE_GENERATOR=Ninja make
python3 ./build/tests/fragment.py
timeout-minutes: 5

- name: Stop docker image
if: always()
run: |
docker stop zenoh_router
docker rm zenoh_router

0 comments on commit c0b674d

Please sign in to comment.