Skip to content

Commit

Permalink
Merge pull request #26 from matin-deriv/test_ci
Browse files Browse the repository at this point in the history
chore: test ci
  • Loading branch information
matin-deriv authored Apr 3, 2024
2 parents e992423 + aec4fab commit cf99f29
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ jobs:
test:
runs-on: ubuntu-latest
permissions:
# Required to checkout the code
contents: read
# Required to put a comment into the pull-request
pull-requests: write

steps:
Expand All @@ -22,6 +20,6 @@ jobs:
- name: Install dependencies
run: npm install
- name: Run tests
run: npx vitest run --coverage.enabled --coverage.provider=v8 --coverage.reporter=json-summary --coverage.reporter=json
- name: Report Coverage
uses: davelosert/vitest-coverage-report-action@v2
run: npx vitest run --coverage.enabled
- name: Coveralls
uses: coverallsapp/github-action@3dfc5567390f6fa9267c0ee9c251e4c8c3f18949
3 changes: 2 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ export default defineConfig({
},
test: {
coverage: {
provider: "istanbul",
provider: "v8",
reporter: ["html", "lcov"],
},
environment: "happy-dom",
},
Expand Down

0 comments on commit cf99f29

Please sign in to comment.