From aef3df623b710536520a5060089f645292226429 Mon Sep 17 00:00:00 2001 From: Shunkichi Sato <49983831+s8sato@users.noreply.github.com> Date: Mon, 11 Nov 2024 17:37:45 +0900 Subject: [PATCH 1/2] ci: enable doc tests (#5201) Signed-off-by: Shunkichi Sato <49983831+s8sato@users.noreply.github.com> --- .github/workflows/iroha2-dev-pr.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/iroha2-dev-pr.yml b/.github/workflows/iroha2-dev-pr.yml index 944e6444e96..b451f9a0d06 100644 --- a/.github/workflows/iroha2-dev-pr.yml +++ b/.github/workflows/iroha2-dev-pr.yml @@ -113,8 +113,13 @@ jobs: mold --run cargo llvm-cov nextest --all-features --branch --no-report + - name: Doc test with all features + run: > + mold --run cargo llvm-cov --doc + --all-features + --branch --no-report - name: Generate lcov report - run: cargo llvm-cov report --lcov --output-path lcov.info + run: cargo llvm-cov report --doctests --lcov --output-path lcov.info - name: Upload lcov report uses: actions/upload-artifact@v4 with: From b29e442b6f7b625986d0a6e283a910b8bf6d7060 Mon Sep 17 00:00:00 2001 From: BAStos525 <66615487+BAStos525@users.noreply.github.com> Date: Mon, 11 Nov 2024 16:09:11 +0300 Subject: [PATCH 2/2] ci: Add webhook trigger for iroha-java tests upload to Allure (#5226) Signed-off-by: BAStos525 --- .github/workflows/iroha2-dev.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/iroha2-dev.yml b/.github/workflows/iroha2-dev.yml index db3ba516632..e59be25c7f8 100644 --- a/.github/workflows/iroha2-dev.yml +++ b/.github/workflows/iroha2-dev.yml @@ -92,6 +92,15 @@ jobs: -H "X-GitHub-Api-Version: 2022-11-28" \ https://api.github.com/repos/hyperledger-iroha/iroha-python/dispatches \ -d '{"event_type":"dispatch-event"}' + - name: Trigger java SDK tests + run: | + curl -L \ + -X POST \ + -H "Accept: application/vnd.github+json" \ + -H "Authorization: Bearer ${{ secrets.REPO_ACCESS_TOKEN }}" \ + -H "X-GitHub-Api-Version: 2022-11-28" \ + https://api.github.com/repos/hyperledger-iroha/iroha-java/dispatches \ + -d '{"event_type":"allure-upload-trigger"}' telemetry: # FIXME #2646