Skip to content
This repository was archived by the owner on Dec 19, 2025. It is now read-only.

Commit 6449020

Browse files
committed
Create more expandable test infra
1 parent 41b5a32 commit 6449020

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.github/workflows/rust.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@ jobs:
2929
nix build .#nginx-with-stream -o nginx
3030
echo "$(pwd)/nginx/bin" >> $GITHUB_PATH
3131
- name: test ohttp-relay
32-
run: |
33-
cargo test --locked --verbose --all-features
34-
cargo test --locked --verbose
32+
run: RUST_LOG=debug bash contrib/test.sh
3533

3634
fmt:
3735
runs-on: ubuntu-latest

contrib/test.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/usr/bin/env bash
2+
set -e
3+
4+
cargo test --locked --package ohttp-relay --verbose --lib
5+
cargo test --locked --package ohttp-relay --verbose --test integration
6+
7+
cargo test --locked --package ohttp-relay --verbose --all-features --lib
8+
cargo test --locked --package ohttp-relay --verbose --all-features --test integration

0 commit comments

Comments
 (0)