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

Commit

Permalink
autobump wip
Browse files Browse the repository at this point in the history
  • Loading branch information
leordev committed Aug 14, 2024
1 parent 13a15cf commit 5925e27
Show file tree
Hide file tree
Showing 9 changed files with 39,387 additions and 13 deletions.
48 changes: 37 additions & 11 deletions .github/actions/spec-test-vector-report/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,43 @@ 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"
junit-report-paths:
description: "Glob Path with the JUnit test vectors report, can be a single path or a list of paths in an array"
required: true
spec-path:
description: "The path to the spec submodule"
required: true
test-cases-prefix:
description: "The prefix of the test cases to be filtered"
required: false

# Define your outputs here.
outputs:
summary:
description: "The summary of the test vector report, same as the GITHUB_STEP_SUMMARY"

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"
using: node20
main: dist/index.js
# using: "composite"
# steps:
# - name: Use Node.js
# uses: actions/setup-node@v3
# with:
# node-version: "18"

# # - name: Install required packages
# # shell: bash
# # run: npm install xml2js glob

# # - name: Filter Test Suites
# # shell: bash
# # run: node .github/actions/spec-test-vector-report/clean-junit-report.js ${{ inputs.junit-report-path }} TbdexTestVector*

# - 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 }} # clean-junit-report.xml
# suite_regex: TbdexTestVector*
# summary: "tbDEX Test Vectors Results"
Loading

0 comments on commit 5925e27

Please sign in to comment.