From 6c5f353cf5a0b26d96e8e0fc220567c9dbf520bc Mon Sep 17 00:00:00 2001 From: Leo Ribeiro Date: Wed, 21 Aug 2024 13:08:55 -0400 Subject: [PATCH] Add specs-report on CI (#273) --- .github/workflows/integrity-check.yml | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/.github/workflows/integrity-check.yml b/.github/workflows/integrity-check.yml index f275d07f..3e6c0974 100644 --- a/.github/workflows/integrity-check.yml +++ b/.github/workflows/integrity-check.yml @@ -16,14 +16,13 @@ env: PNPM_CACHE_FOLDER: .pnpm-store jobs: - test-with-node: runs-on: ubuntu-latest steps: - name: Checkout source uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 with: - submodules: 'true' + submodules: "true" # https://cashapp.github.io/hermit/usage/ci/ - name: Init Hermit @@ -43,7 +42,18 @@ jobs: - name: Run tests for all packages run: pnpm test:node --reporter mocha-junit-reporter --reporter-options mochaFile=./results.xml - + + - name: Execute Spec Test Vector Report + if: always() && steps.tests.conclusion != 'skipped' + uses: TBD54566975/sdk-report-runner/.github/actions/specs-report@main + with: + junit-report-paths: packages/*/results.xml + spec-path: tbdex + fail-on-missing-vectors: true + fail-on-failed-test-cases: true + comment-on-pr: true + git-token: ${{ secrets.GITHUB_TOKEN }} + - name: Upload test results to update SDK reports uses: actions/upload-artifact@v3 with: