proxy: add `bench` tests to CI
Proxy tests, including benchmarks, are run against run nightly.
Because nightly is not stable, failures are ignored.
@@ -24,6 +24,14 @@ jobs:
script:
- (cd proxy && cargo test --locked --no-default-features)
+ - language: rust
+ # Run proxy benchmarks in development mode. Requires nightly.
+ # Failures are not fatal.
+ rust: nightly
+ cache: cargo
+ script:
+ - (cd proxy && cargo test --benches --locked --no-default-features)
+
- language: go
# Quote the version number to avoid parsing issues like
# https://github.com/travis-ci/gimme/issues/132.
@@ -129,6 +137,10 @@ jobs:
- target/cli/linux/conduit install --conduit-version=$CONDUIT_TAG |tee conduit.yml
- kubectl -n conduit apply -f conduit.yml --prune --selector='conduit.io/control-plane-component'
+ allow_failures:
+ - rust: nightly
+ fast_finish: true
+
notifications:
email:
on_success: never
