Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

report test coverage in a PR #21

Merged
merged 26 commits into from
Mar 10, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
debug
cameronbrill committed Mar 9, 2024
commit 9f6967abca053e7991623326cde6974059cce376
3 changes: 3 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -50,8 +50,11 @@
run: yarn ${{ matrix.command }}
env:
FORCE_COLOR: 2
CONDITION: always()
CONDITION2: ${{ matrix.command == 'test:coverage' }}
CONDITION3: always() && ${{ matrix.command == 'test:coverage' }}
- name: 'Report Coverage'
if: always() && ${{ matrix.command == 'test:coverage' }}

Check failure on line 57 in .github/workflows/check.yml

GitHub Actions / actionlint

[actionlint] .github/workflows/check.yml#L57

if: condition "always() && ${{ matrix.command == 'test:coverage' }}" is always evaluated to true because extra characters are around ${{ }} [if-cond]
Raw output
.github/workflows/check.yml:57:13: if: condition "always() && ${{ matrix.command == 'test:coverage' }}" is always evaluated to true because extra characters are around ${{ }} [if-cond]
uses: davelosert/vitest-coverage-report-action@v2
with:
json-summary-path : './src/__tests__/coverage/coverage-summary.json'