1
0
Fork 0
mirror of https://github.com/Nutomic/ibis.git synced 2024-11-26 04:01:10 +00:00

more timeout

This commit is contained in:
Felix Ableitner 2024-02-09 16:18:11 +01:00
parent d3a310f89d
commit 83fc8dab8e
2 changed files with 1 additions and 44 deletions

View file

@ -2,49 +2,6 @@ variables:
- &rust_image "rust:1.75"
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:
image: *rust_image
environment:

View file

@ -122,7 +122,7 @@ impl IbisInstance {
start(config).await.unwrap();
});
// 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 {
username: username.to_string(),
password: "hunter2".to_string(),