mirror of https://github.com/LemmyNet/lemmy.git
syntax again
parent
88cd8b2d74
commit
ef22f70e18
10
.drone.yml
10
.drone.yml
|
@ -5,9 +5,9 @@ steps:
|
|||
- name: cargo test
|
||||
image: ekidd/rust-musl-builder:1.47.0
|
||||
environment:
|
||||
- LEMMY_DATABASE_URL: =postgres://lemmy:password@localhost:5432/lemmy
|
||||
- RUST_BACKTRACE: 1
|
||||
- RUST_TEST_THREADS: 1
|
||||
LEMMY_DATABASE_URL: postgres://lemmy:password@localhost:5432/lemmy
|
||||
RUST_BACKTRACE: 1
|
||||
RUST_TEST_THREADS: 1
|
||||
commands:
|
||||
- cargo check --all
|
||||
- cargo test --workspace --no-fail-fast
|
||||
|
@ -52,8 +52,8 @@ services:
|
|||
- name: postgres
|
||||
image: postgres:12-alpine
|
||||
environment:
|
||||
- POSTGRES_USER: lemmy
|
||||
- POSTGRES_PASSWORD: password
|
||||
POSTGRES_USER: lemmy
|
||||
POSTGRES_PASSWORD: password
|
||||
|
||||
volumes:
|
||||
- name: docker_sock
|
||||
|
|
Loading…
Reference in New Issue