From 8d0b1e96b74df3aa514fea1970bf844fab7a30f7 Mon Sep 17 00:00:00 2001 From: rolv Date: Mon, 12 May 2025 12:12:34 +0100 Subject: [PATCH 1/2] fix(ci): run the LanguageTool service for the coverage CI so that tests don't fail --- .github/workflows/coverage.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 631bb1b..6bb0dc6 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -5,6 +5,13 @@ jobs: test: name: Coverage runs-on: ubuntu-latest + services: + languagetool: + image: erikvl87/languagetool:${{ matrix.tag }} + ports: + - 8010:8010 + env: + langtool_maxTextLength: 1500 container: image: xd009642/tarpaulin:develop-nightly options: --security-opt seccomp=unconfined From c8ec902988f2c61c9bdf7ce6a2dac2ad774d6650 Mon Sep 17 00:00:00 2001 From: rolv Date: Mon, 12 May 2025 12:18:38 +0100 Subject: [PATCH 2/2] fix: formatting issue in Cargo.toml --- Cargo.lock | 2 +- Cargo.toml | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index a3ab065..bacbb34 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1101,7 +1101,7 @@ dependencies = [ [[package]] name = "languagetool-rust" -version = "2.1.5" +version = "2.1.4" dependencies = [ "annotate-snippets", "assert_cmd", diff --git a/Cargo.toml b/Cargo.toml index fad2596..dba346f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -99,7 +99,6 @@ repository = "https://github.com/jeertmans/languagetool-rust" rust-version = "1.77.0" version = "2.1.4" - [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "docsrs"]