Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,15 @@ jobs:

- name: Run tests
run: cargo test --verbose

test-linux-ipv4:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: docker build -t sacn-tests -f docker-linux/Dockerfile .
- name: Run tests
run: docker run --cap-add=NET_ADMIN sacn-tests

test-windows:
runs-on: windows-latest
Expand Down
3 changes: 1 addition & 2 deletions docker-linux/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,4 @@ RUN chmod +x run_tests.sh
# RUN cargo test

# default command runs your multicast suite; tweak if needed
CMD ["./run_tests.sh"]

CMD ["./run_tests.sh"]
2 changes: 1 addition & 1 deletion docker-linux/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ ip a show dev lo
# sysctl -p

cargo test
cargo test ipv4 -- --ignored --nocapture
cargo test ipv4 -- --ignored --nocapture --test-threads=1