Skip to content

chore(deps): update rust docker digest to 4f63ef8 (#50) #101

chore(deps): update rust docker digest to 4f63ef8 (#50)

chore(deps): update rust docker digest to 4f63ef8 (#50) #101

Workflow file for this run

name: Test
on:
push
env:
CARGO_TERM_COLOR: always
LIBCLANG_PATH: /usr/lib/llvm-14/lib/
jobs:
test:
runs-on: ubuntu-22.04
strategy:
matrix:
version: [community, enterprise]
steps:
- name: Install apt-get
run: sudo apt-get install -y clang llvm
- name: Install latest nightly
uses: dtolnay/rust-toolchain@888c2e1ea69ab0d4330cbf0af1ecc7b68f368cc1 # v1
with:
toolchain: nightly
components: rustfmt, clippy
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Run tests
run: cargo test --features=${{ matrix.version }} --verbose
- name: Run tests with Couchbase Lite C leak check
run: LEAK_CHECK=y cargo test --features=${{ matrix.version }} --verbose -- --test-threads 1
- name: Run tests (with address sanitizer)
run: LSAN_OPTIONS=suppressions=san.supp RUSTFLAGS="-Zsanitizer=address" cargo +nightly test --features=${{ matrix.version }} --verbose