Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

Commit

Permalink
test vectors report wip
Browse files Browse the repository at this point in the history
  • Loading branch information
leordev committed Aug 14, 2024
1 parent fb4fa2a commit 13a15cf
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 3 deletions.
18 changes: 18 additions & 0 deletions .github/actions/spec-test-vector-report/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: "Spec Test Vector Report"
description: "Generate and compare spec test vector report"

inputs:
junit-report-path:
description: "Glob Path with the JUnit test vectors report"
required: true

runs:
using: "composite"
steps:
- name: Publish Test Report
uses: mikepenz/action-junit-report@db71d41eb79864e25ab0337e395c352e84523afe # v4.3.1
with:
check_name: "tbDEX Spec Test Vector Report"
report_paths: ${{ inputs.junit-report-path }}
suite_regex: TbdexTestVector*
summary: "tbDEX Test Vectors Results"
10 changes: 7 additions & 3 deletions .github/workflows/integrity-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -43,13 +42,18 @@ jobs:

- name: Run tests for all packages
run: pnpm test:node --reporter mocha-junit-reporter --reporter-options mochaFile=./results.xml

- name: Upload test results to update SDK reports
uses: actions/upload-artifact@v3
with:
name: junit-results
path: packages/*/results.xml

- id: spec-test-vector-report
uses: ./.github/actions/spec-test-vector-report
with:
junit-report-path: packages/*/results.xml

- name: Upload test coverage to Codecov
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
env:
Expand Down

0 comments on commit 13a15cf

Please sign in to comment.