Files
qdrant/.github/workflows/rust.yml
Arnaud Gourlay c7396525f9 Switch consensus to a runtime configuration (#565)
* switch consensus to a runtime configuration

* propose_sender is always present

* better toggle switch with ConsensusEnabled
2022-05-06 17:56:00 +02:00

39 lines
732 B
YAML

name: Tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
env:
CARGO_TERM_COLOR: always
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Install minimal stable
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
- uses: actions/checkout@v3
- uses: Swatinem/rust-cache@v1
- name: Install dependencies
run: sudo apt-get install clang
- name: Install protoc
run: .github/scripts/protoc.sh
shell: bash
- name: Run tests
run: cargo test --all
# build:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# - name: Build
# run: docker build . --tag=qdrant