Skip to content

Commit

Permalink
Add Spec Test Vector Report to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
leordev committed Oct 1, 2024
1 parent 79d3702 commit 661233f
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 #v4.5.0
with:
use_oidc: true
files: '*.profraw'
files: "*.profraw"

assert_full_test_suite:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -270,6 +270,7 @@ jobs:
path: bound/kt/src/main/resources/

- name: Deploy Snapshot / Verify
id: kotlin_test_snapshot
run: |
# cd into the Kotlin project
Expand All @@ -296,6 +297,22 @@ jobs:
SIGN_KEY_PASS: ${{ secrets.GPG_SECRET_PASSPHRASE }}
SIGN_KEY: ${{ secrets.GPG_SECRET_KEY }}

- name: Execute Spec Test Vector Report
if: always() && steps.kotlin_test_snapshot.conclusion != 'skipped'
uses: TBD54566975/sdk-report-runner/.github/actions/specs-report@main
with:
junit-report-paths: bound/kt/target/surefire-reports/*.xml
spec-path: tbdex
suite-name-regex: Web5TestVectors
feature-regex:
vector-regex: test_vectors::test_vectors::(.+)::(.+)$
extract-feature-on-test-case-name: true
prettify-feature: true
fail-on-missing-vectors: true
fail-on-failed-test-cases: true
comment-on-pr: true
git-token: ${{ secrets.GITHUB_TOKEN }}

- name: Upload Kotlin Test Results
uses: actions/upload-artifact@v4.0.0
with:
Expand All @@ -312,7 +329,7 @@ jobs:
needs: kotlin-build-test-deploy-snapshot
strategy:
matrix:
os: [ ubuntu-latest, macos-latest, macos-12, windows-latest ]
os: [ubuntu-latest, macos-latest, macos-12, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 661233f

Please sign in to comment.