mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-22 18:17:39 +08:00
Update the action to test on more platforms
This commit is contained in:
parent
289bc6570b
commit
e3611ad0e4
32
.github/workflows/test.yml
vendored
32
.github/workflows/test.yml
vendored
@ -1,21 +1,25 @@
|
|||||||
---
|
---
|
||||||
on: [pull_request]
|
on: [pull_request]
|
||||||
|
|
||||||
name: Cargo test
|
name: Test binaries with cargo test
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
check:
|
check:
|
||||||
name: MeiliSearch
|
name: Test on ${{ matrix.os }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ${{ matrix.os }}
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
os: [ubuntu-latest, macos-latest, windows-latest]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- uses: actions-rs/toolchain@v1
|
- uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
profile: minimal
|
profile: minimal
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
override: true
|
override: true
|
||||||
- name: Run cargo test
|
- name: Run cargo test
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
command: test
|
command: test
|
||||||
args: --locked
|
args: --locked
|
||||||
|
Loading…
Reference in New Issue
Block a user