Skip to content

Commit

Permalink
Codecov Test Results reporting (#91)
Browse files Browse the repository at this point in the history
* report test results

* ensure reporter --outputFile
  • Loading branch information
Kilo59 authored Sep 3, 2024
1 parent d72075f commit 41724d5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,9 @@ jobs:
files: coverage/cobertura-coverage.xml
token: ${{ secrets.CODECOV_TOKEN }}
slug: great-expectations/jsonforms-antd-renderers

- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"build:cjs": "tsc -p tsconfig.cjs.json",
"prepack": "pnpm run build",
"test": "vitest",
"test:cov": "vitest run --coverage",
"test:cov": "vitest run --coverage --reporter=junit --outputFile=./junit.xml",
"tsc": "tsc",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"format:write": "prettier . --write",
Expand Down

0 comments on commit 41724d5

Please sign in to comment.