From 3c5d1c93de3a5f5014ac50ab99a94ad81562f759 Mon Sep 17 00:00:00 2001 From: TATHAGATA ROY <98920199+roy9495@users.noreply.github.com> Date: Thu, 11 May 2023 20:28:04 +0000 Subject: [PATCH 1/4] Added a cron test for disabled all-tokenization --- .github/workflows/test-suite.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index 5a64feda8..e705cde5c 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -105,6 +105,29 @@ jobs: command: test 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 test-debug: name: Run tests in debug From 44f231d41ea1ebd349240413d4d38a05ea961d79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9mentine=20U=2E=20-=20curqui?= Date: Thu, 25 May 2023 10:02:57 +0200 Subject: [PATCH 2/4] Update .github/workflows/test-suite.yml --- .github/workflows/test-suite.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index e705cde5c..cce376877 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -106,7 +106,7 @@ jobs: args: --workspace --locked --release --all-features test-disabled-tokenization: - name: Test Disabled Tokenization + name: Test disabled tokenization runs-on: ubuntu-latest container: image: ubuntu:18.04 From ead07d0b9d4a70153bdd81ce6ed3c9a12168b551 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9mentine=20U=2E=20-=20curqui?= Date: Thu, 25 May 2023 10:03:45 +0200 Subject: [PATCH 3/4] Update .github/workflows/test-suite.yml --- .github/workflows/test-suite.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index cce376877..b16c2f6b5 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -121,7 +121,7 @@ jobs: with: toolchain: stable override: true - - name: Run cargo tree without default features + - name: Run cargo tree without default features and check lindera is not present run: | cargo tree -f '{p} {f}' -e normal --no-default-features | grep lindera -vqz - name: Run cargo tree with default features From 840727d76ff6837087a9859ea7d5e628c324ba6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9mentine=20U=2E=20-=20curqui?= Date: Thu, 25 May 2023 10:04:07 +0200 Subject: [PATCH 4/4] Update .github/workflows/test-suite.yml --- .github/workflows/test-suite.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index b16c2f6b5..4319624dd 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -124,7 +124,7 @@ jobs: - name: Run cargo tree without default features and check lindera is not present run: | cargo tree -f '{p} {f}' -e normal --no-default-features | grep lindera -vqz - - name: Run cargo tree with default features + - name: Run cargo tree with default features and check lindera is pressent run: | cargo tree -f '{p} {f}' -e normal | grep lindera -qz