mirror of
https://github.com/Nutomic/ibis.git
synced 2024-11-26 10:01:08 +00:00
more timeout
This commit is contained in:
parent
d3a310f89d
commit
83fc8dab8e
2 changed files with 1 additions and 44 deletions
|
@ -2,49 +2,6 @@ variables:
|
||||||
- &rust_image "rust:1.75"
|
- &rust_image "rust:1.75"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
cargo_fmt:
|
|
||||||
image: *rust_image
|
|
||||||
environment:
|
|
||||||
# store cargo data in repo folder so that it gets cached between steps
|
|
||||||
CARGO_HOME: .cargo_home
|
|
||||||
commands:
|
|
||||||
- rustup component add rustfmt
|
|
||||||
- cargo fmt -- --check
|
|
||||||
|
|
||||||
check_config_defaults_updated:
|
|
||||||
image: *rust_image
|
|
||||||
environment:
|
|
||||||
CARGO_HOME: .cargo_home
|
|
||||||
commands:
|
|
||||||
- cargo run -- --print-config > config/defaults_current.toml
|
|
||||||
- diff config/defaults.toml config/defaults_current.toml
|
|
||||||
|
|
||||||
check_diesel_schema:
|
|
||||||
image: willsquire/diesel-cli
|
|
||||||
environment:
|
|
||||||
CARGO_HOME: .cargo_home
|
|
||||||
DATABASE_URL: postgres://ibis:password@database:5432/ibis
|
|
||||||
commands:
|
|
||||||
- diesel migration run
|
|
||||||
- diesel print-schema --config-file=diesel.toml > tmp.schema
|
|
||||||
- diff tmp.schema src/backend/database/schema.rs
|
|
||||||
|
|
||||||
frontend_wasm_build:
|
|
||||||
image: *rust_image
|
|
||||||
environment:
|
|
||||||
CARGO_HOME: .cargo_home
|
|
||||||
commands:
|
|
||||||
- "rustup target add wasm32-unknown-unknown"
|
|
||||||
- "cargo check --target wasm32-unknown-unknown --features csr,hydrate --no-default-features"
|
|
||||||
|
|
||||||
cargo_clippy:
|
|
||||||
image: *rust_image
|
|
||||||
environment:
|
|
||||||
CARGO_HOME: .cargo_home
|
|
||||||
commands:
|
|
||||||
- rustup component add clippy
|
|
||||||
- cargo clippy --tests --all-targets --all-features
|
|
||||||
|
|
||||||
cargo_test:
|
cargo_test:
|
||||||
image: *rust_image
|
image: *rust_image
|
||||||
environment:
|
environment:
|
||||||
|
|
|
@ -122,7 +122,7 @@ impl IbisInstance {
|
||||||
start(config).await.unwrap();
|
start(config).await.unwrap();
|
||||||
});
|
});
|
||||||
// wait a moment for the backend to start
|
// wait a moment for the backend to start
|
||||||
tokio::time::sleep(Duration::from_millis(2000)).await;
|
tokio::time::sleep(Duration::from_millis(5000)).await;
|
||||||
let form = RegisterUserData {
|
let form = RegisterUserData {
|
||||||
username: username.to_string(),
|
username: username.to_string(),
|
||||||
password: "hunter2".to_string(),
|
password: "hunter2".to_string(),
|
||||||
|
|
Loading…
Reference in a new issue