diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 43713cc7..ecd282df 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: diff --git a/.github/workflows/postgres/init.sql b/.github/workflows/init.sql similarity index 100% rename from .github/workflows/postgres/init.sql rename to .github/workflows/init.sql