Skip to content

Add test for initializing backend #129

Add test for initializing backend

Add test for initializing backend #129

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
lint_and_test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macOS-latest]
rust: [stable]
steps:
- name: Set up Rust toolchain
uses: hecrj/setup-rust-action@v2
with:
rust-version: ${{ matrix.rust }}
- name: Check out the code
uses: actions/checkout@v4
- name: Install protoc on Ubuntu
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install -y protobuf-compiler
- name: Install protoc on macOS
if: runner.os == 'macOS'
run: |
brew install protobuf
- name: Install Clippy
run: rustup component add clippy
- name: Run Clippy
run: cargo clippy --all-targets --all-features -- -D warnings
- name: Run tests
env:
RUST_MIN_STACK: 8388608
run: cargo test --verbose -- --test-threads=1 --nocapture