From 99180ba5071537fbf14afbe4acd8cccbd359f6d2 Mon Sep 17 00:00:00 2001 From: Sergio Freire Date: Mon, 15 Jul 2024 15:11:22 +0100 Subject: [PATCH 1/2] check broken links --- .github/workflows/PR.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/PR.yml b/.github/workflows/PR.yml index e93bd5c..eb6e281 100644 --- a/.github/workflows/PR.yml +++ b/.github/workflows/PR.yml @@ -18,10 +18,11 @@ jobs: java-version: 17 - name: Build with Maven run: mvn -B package --file pom.xml + - name: Markup Link Checker (mlc) + uses: becheran/mlc@v0.18.0 - name: Generate JaCoCo Badge id: jacoco uses: cicirello/jacoco-badge-generator@v2.0.1 - - name: Log coverage percentage run: | echo "coverage = ${{ steps.jacoco.outputs.coverage }}" From 7bb9e4ee339781599ce4dbda165a7870dddb904b Mon Sep 17 00:00:00 2001 From: Sergio Freire Date: Mon, 15 Jul 2024 15:23:48 +0100 Subject: [PATCH 2/2] fix broken link on readme --- .github/workflows/PR.yml | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/PR.yml b/.github/workflows/PR.yml index eb6e281..3fe44aa 100644 --- a/.github/workflows/PR.yml +++ b/.github/workflows/PR.yml @@ -18,7 +18,7 @@ jobs: java-version: 17 - name: Build with Maven run: mvn -B package --file pom.xml - - name: Markup Link Checker (mlc) + - name: Check broken links in documentation using Markup Link Checker (mlc) uses: becheran/mlc@v0.18.0 - name: Generate JaCoCo Badge id: jacoco diff --git a/README.md b/README.md index 74260f3..9247787 100644 --- a/README.md +++ b/README.md @@ -96,7 +96,7 @@ That's it. ##### 1. Enable the listener(s) -In order to embed additional information on the customized TestNG XML report, we need to register the **XrayListener** listener. This can be done in [several ways](https://testng.org/doc/documentation-main.html#testng-listeners): +In order to embed additional information on the customized TestNG XML report, we need to register the **XrayListener** listener. This can be done in [several ways](https://testng.org/#_testng_listeners): - it can be discovered automatically at runtime by the ServiceLoader based on the contents of a file (e.g `src/test/resources/META-INF/services/org.testng.ITestNGListener`); this is probably the easiest one.