Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
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
14 changes: 10 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
run: pnpm install

- name: 🧪 Unit tests
run: pnpm test:unit --project unit run --coverage
run: pnpm test:unit run --coverage --reporter=junit --outputFile=test-report.junit.xml
Comment thread
coderabbitai[bot] marked this conversation as resolved.

test:
name: 🧪 Component tests
Expand All @@ -105,12 +105,18 @@ jobs:
run: pnpm playwright install chromium-headless-shell

- name: 🧪 Component tests
run: pnpm vite test --project nuxt run --coverage
run: pnpm test:nuxt run --coverage --reporter=junit --outputFile=test-report.junit.xml

- name: Upload coverage reports to Codecov
- name: ⬆︎ Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
Comment thread
coderabbitai[bot] marked this conversation as resolved.

- name: ⬆︎ Upload coverage reports to Codecov
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5
env:
CODECOV_TOKEN: 17b4bed9-d407-4ce2-9c10-2ccd4328a1d9
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

browser:
name: 🖥️ Browser tests
Expand Down
15 changes: 15 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
coverage:
status:
project:
default:
# Set to false to make this check informational only (won't fail)
informational: true
patch:
default:
# Set to false to make this check informational only (won't fail)
informational: true

comment:
layout: 'reach,diff,flags,tree,components,tests,build'
behavior: default
require_changes: false
Loading