Skip to content

Commit e32e563

Browse files
committed
Run RustScript policy in a real Pingora proxy
1 parent e55841b commit e32e563

16 files changed

Lines changed: 1091 additions & 1566 deletions

.github/workflows/ci.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,9 @@ jobs:
3636
- name: Clippy
3737
working-directory: rustscript-pingora-gateway-policy
3838
run: cargo clippy --all-targets -- -D warnings
39-
- name: Tests
39+
- name: Policy unit tests
4040
working-directory: rustscript-pingora-gateway-policy
41-
run: cargo test --tests --jobs 4
42-
- name: Example run
41+
run: cargo test --test gateway_policy
42+
- name: Real Pingora proxy integration
4343
working-directory: rustscript-pingora-gateway-policy
44-
run: |
45-
cargo run --example decision
46-
cargo run --example protocols
44+
run: cargo test --test live_proxy -- --nocapture

0 commit comments

Comments
 (0)