Bump version after logging API release (#33) #50
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@v1 | |
with: | |
toolchain: nightly | |
components: rustfmt, clippy | |
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 | |
- 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 |