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

Commit 3ba652f

Browse files
committed
Add specs-report on CI
1 parent 0e23e5d commit 3ba652f

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/ci.yml

+15
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,22 @@ jobs:
2626
run: swift build
2727

2828
- name: Run tests
29+
id: tests
2930
run: swift test --enable-code-coverage
31+
32+
- name: Execute Spec Test Vector Report
33+
if: always() && steps.tests.conclusion != 'skipped'
34+
uses: TBD54566975/sdk-report-runner/.github/actions/specs-report@main
35+
with:
36+
junit-report-paths: tests.xml
37+
spec-path: tbdex
38+
suite-name-regex: tbDEXTestVectors
39+
feature-regex: tbDEXTestVectors(\w+)
40+
vector-regex: test_(\w+)
41+
fail-on-missing-vectors: false
42+
fail-on-failed-test-cases: true
43+
comment-on-pr: true
44+
git-token: ${{ secrets.GITHUB_TOKEN }}
3045

3146
- name: Convert the coverage data
3247
run: llvm-cov export -format="lcov" .build/*-apple-macosx/debug/TbdexPackageTests.xctest/Contents/MacOS/TbdexPackageTests -instr-profile .build/*-apple-macosx/debug/codecov/default.profdata > info.lcov

0 commit comments

Comments
 (0)