Update CI/CD
This commit is contained in:
parent
ba4c7ccf64
commit
682932287c
@ -29,7 +29,7 @@ default:
|
||||
- rustc --version
|
||||
- cargo --version
|
||||
- if ! [ -x "$(command -v cargo-sqlx)" ]; then cargo install --version='~0.7' sqlx-cli --no-default-features --features rustls,postgres; fi
|
||||
- apt update -yq && apt-get install -yq postgresql-client
|
||||
- apt update -yq && apt-get install -yq postgresql-client clang
|
||||
- SKIP_DOCKER=true ./scripts/init_db.sh
|
||||
# This is to ensure that the database is reachable and give it some time to initialize.
|
||||
- until psql "dbname=$POSTGRES_DB user=$POSTGRES_USER password=$POSTGRES_PASSWORD host=postgres" -c '\l'; do sleep 3; done
|
||||
|
Loading…
Reference in New Issue
Block a user