Skip to content

Merge pull request #110 from mweiden/matt-weiden/server-latency-perf #301

Merge pull request #110 from mweiden/matt-weiden/server-latency-perf

Merge pull request #110 from mweiden/matt-weiden/server-latency-perf #301

Workflow file for this run

name: CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: Run tests
if: github.ref != 'refs/heads/main'
run: cargo test
- name: Run simple scale test
run: ./scripts/ci_scale_test.sh
- name: Install coverage tools
if: github.ref == 'refs/heads/main'
run: |
rustup component add llvm-tools-preview
cargo install --locked cargo-llvm-cov cargo-nextest
- name: Generate coverage report
if: github.ref == 'refs/heads/main'
run: cargo llvm-cov nextest --lcov --output-path lcov.info
- name: Upload coverage reports to Codecov
if: github.ref == 'refs/heads/main'
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: mweiden/cass
files: lcov.info