Skip to content

Commit

Permalink
Add specs-report on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
leordev committed Aug 21, 2024
1 parent 75b74d0 commit 388d821
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,19 @@ jobs:
run: swift build

- name: Run tests
id: tests
run: swift test --enable-code-coverage

- name: Execute Spec Test Vector Report
if: always() && steps.tests.conclusion != 'skipped'
uses: TBD54566975/sdk-report-runner/.github/actions/specs-report@leordev/specs-report-fix-web5
with:
junit-report-paths: tests.xml
spec-path: Tests/Web5TestVectors/web5-spec
fail-on-missing-vectors: true
fail-on-failed-test-cases: true
comment-on-pr: true
git-token: ${{ secrets.GITHUB_TOKEN }}

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

0 comments on commit 388d821

Please sign in to comment.