Files
qdrant/.github/workflows/rust.yml
Andrey Vasnetsov 4e7ace443c enable ci test on all branches (#1810)
* enable ci test on all branches

* rollback push trigger

* Also run workflows on branches having / in name

---------

Co-authored-by: timvisee <tim@visee.me>
2023-05-17 11:20:59 +02:00

41 lines
782 B
YAML

name: Tests
on:
push:
branches: [ master, dev ]
pull_request:
branches: [ '**' ]
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