Fix ci.yml

This commit is contained in:
Сырцев Вадим Игоревич 2024-01-21 13:28:01 +03:00
parent 3fb4ee226a
commit ec113c1bc4
2 changed files with 2 additions and 5 deletions

View file

@ -8,7 +8,7 @@ on:
name: Continuous integration
env:
RUSTFLAGS: "--cfg CI_REDIS CI_POSTGRES -Dwarnings"
RUSTFLAGS: "--cfg CI_REDIS --cfg CI_POSTGRES -Dwarnings"
RUSTDOCFLAGS: -Dwarnings
RUST_BACKTRACE: short
@ -80,15 +80,12 @@ jobs:
image: postgres
volumes:
- ./postgres/init.sql:/docker-entrypoint-initdb.d/init.sql
- init.sql:/docker-entrypoint-initdb.d/init.sql
env:
POSTGRES_USER: teloxide
POSTGRES_PASSWORD: rewrite_it_in_rust
ports:
- 5432:5432
strategy:
matrix:
rust: