mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-26 03:55:07 +08:00
ea4c3b613a
update changelog Add docker build test on PR
33 lines
713 B
YAML
33 lines
713 B
YAML
---
|
|
on: [pull_request]
|
|
|
|
name: Test binaries with cargo test
|
|
|
|
jobs:
|
|
check:
|
|
name: Test on ${{ matrix.os }}
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-latest, macos-latest]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- uses: actions-rs/toolchain@v1
|
|
with:
|
|
profile: minimal
|
|
toolchain: stable
|
|
override: true
|
|
- name: Run cargo test
|
|
uses: actions-rs/cargo@v1
|
|
with:
|
|
command: test
|
|
args: --locked --release
|
|
build-image:
|
|
name: Test the build of Docker image
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- run: docker build . --file Dockerfile -t meilisearch
|
|
name: Docker build
|