This commit is contained in:
1 parent
d74db2096c
commit
8c763786c1
25 files changed
+3614
-407
No files matched your search
+16
-1
@@ -2,6 +2,14 @@ when:
|
||||
event:
|
||||
- push
|
||||
|
||||
services:
|
||||
- name: postgres
|
||||
image: postgres:18
|
||||
environment:
|
||||
POSTGRES_USER: postgres
|
||||
POSTGRES_PASSWORD: postgres
|
||||
POSTGRES_DB: steep
|
||||
|
||||
steps:
|
||||
- name: fmt
|
||||
image: rust:1.99
|
||||
@@ -15,10 +23,17 @@ steps:
|
||||
- rustup component add clippy
|
||||
- cargo clippy --workspace --all-targets --all-features -- -D warnings
|
||||
|
||||
- name: wait-for-postgres
|
||||
image: postgres:18
|
||||
commands:
|
||||
- until pg_isready -h postgres -U postgres; do sleep 1; done
|
||||
|
||||
- name: test
|
||||
image: rust:1.99
|
||||
environment:
|
||||
DATABASE_URL: postgresql://postgres:postgres@postgres:5432/steep
|
||||
commands:
|
||||
- cargo test --workspace --all-targets
|
||||
- cargo test --workspace --all-targets -- --include-ignored
|
||||
|
||||
- name: container-build
|
||||
image: quay.io/buildah/stable
|
||||
|
||||
Reference in new issue
Block a user