Files
qdrant/.github/workflows/rust.yml
2023-02-07 18:48:46 +01:00

41 lines
789 B
YAML

name: Tests
on:
push:
branches: [ master, dev ]
pull_request:
branches: [ master, dev ]
env:
CARGO_TERM_COLOR: always
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, windows-latest ]
steps:
- name: Install minimal stable
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
- uses: actions/checkout@v3
- uses: Swatinem/rust-cache@v2
- name: Install Protoc
uses: arduino/setup-protoc@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Run tests
run: cargo test --all
# build:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# - name: Build
# run: docker build . --tag=qdrant