Skip to content

Commit

Permalink
Update main.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
new-user888 authored Oct 6, 2024
1 parent 1875415 commit d424ec7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,16 +65,16 @@ jobs:
uses: actions/download-artifact@v3
with:
name: coverage-artifacts
path: coverage
path: .vitest-reports

- name: Verify coverage directory contents
run: ls -la coverage/
run: ls -la .vitest-reports/

- name: Install Cobertura Merge
run: npm install cobertura-merge --save-dev
- name: Install dependencies
run: npm install

- name: Merge XML coverage reports
run: npx cobertura-merge coverage/*.xml -o ./test-report.xml
run: npx vitest --merge-reports

- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
Expand Down

0 comments on commit d424ec7

Please sign in to comment.