Build in CI with SQLX_OFFLINE=1

This commit is contained in:
Quentin Gliech committed 2022-08-05 09:48:02 +02:00
1 parent 646a0f26d6
commit 64d410b32b
1 file changed
+2
+2
View File
@@ -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: |