From 64d410b32bfce3fb824bfd3ee8d5a5f8dfa793c7 Mon Sep 17 00:00:00 2001 From: Quentin Gliech Date: Thu, 4 Aug 2022 15:39:50 +0200 Subject: [PATCH] Build in CI with SQLX_OFFLINE=1 --- .github/workflows/ci.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 4c5089f60..c91f19b7e 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -273,6 +273,7 @@ jobs: args: --offline --workspace env: DATABASE_URL: postgresql://test:test@localhost/postgres + SQLX_OFFLINE: '1' # Ignore errors on the nightly toolchain continue-on-error: "${{ matrix.toolchain == 'nightly' }}" @@ -352,6 +353,7 @@ jobs: RUSTFLAGS: '-Cinstrument-coverage' LLVM_PROFILE_FILE: "cargo-test-%p-%m.profraw" DATABASE_URL: postgresql://test:test@localhost/postgres + SQLX_OFFLINE: '1' - name: Build grcov report run: |