Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
15 commits
Select commit Hold shift + click to select a range
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
2 changes: 2 additions & 0 deletions .config/nextest.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[profile.default]
retries = { backoff = "fixed", count = 2, delay = "500ms" }
21 changes: 3 additions & 18 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,30 +26,15 @@ jobs:
- name: Install build dependencies - Cargo-Binstall
uses: cargo-bins/cargo-binstall@main

- name: Install build dependencies - Trunk
run: cargo binstall -y trunk
- name: Install build dependencies - Trunk and cargo-nextest
run: cargo binstall -y trunk cargo-nextest

- name: Building frontend (wasm32)
working-directory: src/webpage
run: trunk build --release --locked --verbose

- name: Building tests
run: SKIP_FRONTEND=1 cargo test --no-run --locked --verbose

- name: Run Tests
run: |
SKIP_FRONTEND=1 cargo test --verbose -- --nocapture
SKIP_FRONTEND=1 cargo test test_udpserver_receive_only --verbose -- --nocapture
SKIP_FRONTEND=1 cargo test test_udpserver_send_only --verbose -- --nocapture --ignored
SKIP_FRONTEND=1 cargo test test_udpclient_send_only --verbose -- --nocapture --ignored
SKIP_FRONTEND=1 cargo test test_tcpserver_receive_only --verbose -- --nocapture --ignored
SKIP_FRONTEND=1 cargo test test_tcpserver_send_only --verbose -- --nocapture --ignored
SKIP_FRONTEND=1 cargo test test_tcpclient_send_only --verbose -- --nocapture --ignored
SKIP_FRONTEND=1 cargo test test_tcpclient_receive_only --verbose -- --nocapture --ignored
SKIP_FRONTEND=1 cargo test test_wsserver_receive_only --verbose -- --nocapture --ignored
SKIP_FRONTEND=1 cargo test test_wsserver_send_only --verbose -- --nocapture --ignored
SKIP_FRONTEND=1 cargo test test_wsclient_send_only --verbose -- --nocapture --ignored
SKIP_FRONTEND=1 cargo test test_wsclient_receive_only --verbose -- --nocapture --ignored
run: SKIP_FRONTEND=1 cargo nextest run --locked --verbose

build:
runs-on: ${{ matrix.os }}
Expand Down
Loading
Loading