Skip to content
This repository has been archived by the owner on Jul 3, 2023. It is now read-only.

Commit

Permalink
Add a persistent trace using the RocksDB key-value store.
Browse files Browse the repository at this point in the history
  • Loading branch information
gz committed Oct 5, 2022
1 parent d796ecb commit cb8c28d
Show file tree
Hide file tree
Showing 30 changed files with 2,746 additions and 286 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@ name: Coverage

on: [push, pull_request]

env:
# It's really `--all-features`, but not adding `persistence`, we expect the
# persistence feature to go away again in the future (but if we add it
# unconditionally it changes the code that's run significantly)
ALMOST_ALL_FEATURES: --features "with-serde with-csv with-nexmark"

jobs:
check:
name: Coverage
Expand Down Expand Up @@ -29,7 +35,7 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: llvm-cov
args: --all-features --workspace --lcov --output-path coverage.info --ignore-filename-regex tests.rs
args: ${{ env.ALMOST_ALL_FEATURES }} --workspace --lcov --output-path coverage.info --ignore-filename-regex tests.rs

- name: Upload to codecov.io
uses: codecov/codecov-action@v3
Expand Down
14 changes: 12 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ env:
CARGO_NET_RETRY: 10
RUST_BACKTRACE: short
RUSTUP_MAX_RETRIES: 10
# It's really `--all-features`, but not adding `persistence`, we expect the
# persistence feature to go away again in the future (but if we add it
# unconditionally it changes the code that's run significantly)
ALMOST_ALL_FEATURES: --features "with-serde with-csv with-nexmark"

jobs:
tests:
Expand Down Expand Up @@ -78,6 +82,12 @@ jobs:
args: --no-run --no-default-features --target ${{ matrix.target }}

- name: Run tests
uses: actions-rs/cargo@v1
with:
command: test
args: ${{ env.ALMOST_ALL_FEATURES }} --target ${{ matrix.target }}

- name: Run tests with persistent trace
uses: actions-rs/cargo@v1
with:
command: test
Expand Down Expand Up @@ -115,7 +125,7 @@ jobs:
# MIRIFLAGS: "-Zmiri-tag-raw-pointers -Zmiri-disable-isolation -Zmiri-preemption-rate=0"
# with:
# command: miri
# args: test --all-features
# args: test ${{ env.ALMOST_ALL_FEATURES }}

test-sanitizers:
name: Sanitizer Tests
Expand Down Expand Up @@ -185,7 +195,7 @@ jobs:
with:
command: test
# leak sanitizer is crashing on exchange tests.
args: --all-features --target ${{ matrix.target }} -Z build-std -- --skip 'exchange'
args: ${{ env.ALMOST_ALL_FEATURES }} --target ${{ matrix.target }} -Z build-std -- --skip 'exchange'

clippy:
name: Clippy
Expand Down
Loading

0 comments on commit cb8c28d

Please sign in to comment.