mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 14:35:36 +01:00
Fix ci.yml
This commit is contained in:
parent
3fb4ee226a
commit
ec113c1bc4
2 changed files with 2 additions and 5 deletions
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
|
@ -8,7 +8,7 @@ on:
|
||||||
name: Continuous integration
|
name: Continuous integration
|
||||||
|
|
||||||
env:
|
env:
|
||||||
RUSTFLAGS: "--cfg CI_REDIS CI_POSTGRES -Dwarnings"
|
RUSTFLAGS: "--cfg CI_REDIS --cfg CI_POSTGRES -Dwarnings"
|
||||||
RUSTDOCFLAGS: -Dwarnings
|
RUSTDOCFLAGS: -Dwarnings
|
||||||
RUST_BACKTRACE: short
|
RUST_BACKTRACE: short
|
||||||
|
|
||||||
|
@ -80,15 +80,12 @@ jobs:
|
||||||
image: postgres
|
image: postgres
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./postgres/init.sql:/docker-entrypoint-initdb.d/init.sql
|
- init.sql:/docker-entrypoint-initdb.d/init.sql
|
||||||
|
|
||||||
env:
|
env:
|
||||||
POSTGRES_USER: teloxide
|
POSTGRES_USER: teloxide
|
||||||
POSTGRES_PASSWORD: rewrite_it_in_rust
|
POSTGRES_PASSWORD: rewrite_it_in_rust
|
||||||
|
|
||||||
ports:
|
|
||||||
- 5432:5432
|
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
rust:
|
rust:
|
||||||
|
|
Loading…
Reference in a new issue