mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-26 12:05:05 +08:00
Improve test-suite.yml for CI failing when disabling tokenization (#4005)
* [Update] test-suite.yml Added New run command for cargo tree without default features using if-then block * [Updated] test-disabled-tokenization in test-suite.yml * [Updated] test-suite.yml * Update .github/workflows/test-suite.yml --------- Co-authored-by: Clémentine U. - curqui <clementine@meilisearch.com>
This commit is contained in:
parent
e9b62aacb3
commit
b310830b5d
5
.github/workflows/test-suite.yml
vendored
5
.github/workflows/test-suite.yml
vendored
@ -123,7 +123,10 @@ jobs:
|
|||||||
override: true
|
override: true
|
||||||
- name: Run cargo tree without default features and check lindera is not present
|
- name: Run cargo tree without default features and check lindera is not present
|
||||||
run: |
|
run: |
|
||||||
cargo tree -f '{p} {f}' -e normal --no-default-features | grep lindera -vqz
|
if cargo tree -f '{p} {f}' -e normal --no-default-features | grep -vqz lindera; then
|
||||||
|
echo "lindera has been found in the sources and it shouldn't"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
- name: Run cargo tree with default features and check lindera is pressent
|
- name: Run cargo tree with default features and check lindera is pressent
|
||||||
run: |
|
run: |
|
||||||
cargo tree -f '{p} {f}' -e normal | grep lindera -qz
|
cargo tree -f '{p} {f}' -e normal | grep lindera -qz
|
||||||
|
Loading…
Reference in New Issue
Block a user