name: Tests
on:
push:
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- run: cargo test --all-features
proxy-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
# Docker is preinstalled on ubuntu-latest; spawn the proxies, then
# run the integration tests that are #[ignore]d by default.
- run: ./tests/proxy.sh
- run: cargo test --test proxy -- --ignored
env:
RUST_LOG: trace