ci: run example in CI for both actix and axum

This commit is contained in:
Paul Delafosse 2022-11-27 20:51:46 +01:00
parent 4777d114c7
commit 9553ca17d3

View file

@ -42,10 +42,17 @@ steps:
commands:
- cargo test --workspace --no-fail-fast
- name: cargo run
- name: cargo run actix
image: rust:1.61-bullseye
environment:
CARGO_HOME: .cargo
RUST_BACKTRACE: 1
commands:
- cargo run -p activitypub_federation --example federation
- cargo run -p activitypub_federation --example simple_federation_actix
- name: cargo run axum
image: rust:1.61-bullseye
environment:
CARGO_HOME: .cargo
RUST_BACKTRACE: 1
commands:
- cargo run -p activitypub_federation --example simple_federation_axum