mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-23 02:27:40 +08:00
Added a cron test for disabled all-tokenization
This commit is contained in:
parent
918ce1dd67
commit
3c5d1c93de
23
.github/workflows/test-suite.yml
vendored
23
.github/workflows/test-suite.yml
vendored
@ -105,6 +105,29 @@ jobs:
|
|||||||
command: test
|
command: test
|
||||||
args: --workspace --locked --release --all-features
|
args: --workspace --locked --release --all-features
|
||||||
|
|
||||||
|
test-disabled-tokenization:
|
||||||
|
name: Test Disabled Tokenization
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
container:
|
||||||
|
image: ubuntu:18.04
|
||||||
|
if: github.event_name == 'schedule'
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- name: Install needed dependencies
|
||||||
|
run: |
|
||||||
|
apt-get update
|
||||||
|
apt-get install --assume-yes build-essential curl
|
||||||
|
- uses: actions-rs/toolchain@v1
|
||||||
|
with:
|
||||||
|
toolchain: stable
|
||||||
|
override: true
|
||||||
|
- name: Run cargo tree without default features
|
||||||
|
run: |
|
||||||
|
cargo tree -f '{p} {f}' -e normal --no-default-features | grep lindera -vqz
|
||||||
|
- name: Run cargo tree with default features
|
||||||
|
run: |
|
||||||
|
cargo tree -f '{p} {f}' -e normal | grep lindera -qz
|
||||||
|
|
||||||
# We run tests in debug also, to make sure that the debug_assertions are hit
|
# We run tests in debug also, to make sure that the debug_assertions are hit
|
||||||
test-debug:
|
test-debug:
|
||||||
name: Run tests in debug
|
name: Run tests in debug
|
||||||
|
Loading…
Reference in New Issue
Block a user