-
Notifications
You must be signed in to change notification settings - Fork 55
34 lines (32 loc) · 945 Bytes
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
---
on: [pull_request]
name: Cargo test
jobs:
check_lmdb:
name: Test the heed project with LMDB
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
include:
- os: ubuntu-latest
artifact_name: meilidb-http
asset_name: meilidb-http-linux-amd64
- os: windows-latest
artifact_name: meilidb-http.exe
asset_name: meilidb-http-windows-amd64
- os: macos-latest
artifact_name: meilidb-http-macos-amd64
asset_name: meilidb-http-macos-amd64
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Run cargo test
run: |
cd heed
cargo clean
cargo test --features 'lmdb serde-json' --no-default-features