Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
santoshshinde2012 committed May 16, 2024
1 parent acf8a2c commit e190907
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ jobs:
-Dsonar.projectKey=santoshshinde2012_jest-to-sonar
-Dsonar.projectName=jest-to-sonar
-Dsonar.projectVersion=1.0
-Dsonar.language=ts
-Dsonar.verbose=false
-Dsonar.sources=.
-Dsonar.exclusions=**/tests/**/*.ts
-Dsonar.tests=tests
-Dsonar.coverage.exclusions=**/tests/**/*.ts,node_modules/*,coverage/lcov-report/*
-Dsonar.language=ts
-Dsonar.tests=./tests
-Dsonar.verbose=false
-Dsonar.sourceEncoding=UTF-8
-Dsonar.javascript.lcov.reportPaths=./coverage/lcov.info
-Dsonar.testExecutionReportPaths=./coverage/sonar-report.xml
Expand Down
12 changes: 6 additions & 6 deletions coverage/sonar-report.xml
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<testExecutions version="1">
<file path="/home/runner/work/jest-to-sonar/jest-to-sonar/tests/lib/SonarReporter.spec.ts">
<file path="/tests/lib/SonarReporter.spec.ts">
<testCase name="SonarReporter onTestResult should add test results to testFileResults" duration="0.001" />
<testCase name="SonarReporter onRunComplete should write XML file with test results" duration="0.001" />
<testCase name="SonarReporter onRunComplete should use default output file if not provided - skipped" duration="0" >
<skipped/>
</testCase>
<testCase name="SonarReporter onRunComplete should use default output file if not provided" duration="0.001" />
<testCase name="SonarReporter onRunComplete should use provided output file" duration="0" />
<testCase name="SonarReporter onRunComplete should use default output file if not provided" duration="0" />
<testCase name="SonarReporter onRunComplete should use provided output file" duration="0.001" />
</file>
<file path="/home/runner/work/jest-to-sonar/jest-to-sonar/tests/helpers/utils.spec.ts">
<testCase name="createFile function should create file with given data" duration="0" />
<file path="/tests/helpers/utils.spec.ts">
<testCase name="createFile function should create file with given data" duration="0.001" />
<testCase name="createFile function should handle error when writing file" duration="0" />
<testCase name="generateXML generates correct XML with test cases of different statuses" duration="0" />
<testCase name="generateXML generates correct XML with test cases of 0 duration" duration="0" />
<testCase name="generateXML handles empty testFileResults map" duration="0" />
<testCase name="generateXML handles empty path" duration="0" />
<testCase name="getRelativePath generates relative path correctly" duration="0" />
<testCase name="getRelativePath handles 'process.cwd()' in path" duration="0.001" />
<testCase name="getRelativePath handles 'process.cwd()' in path" duration="0" />
<testCase name="getRelativePath handles empty input string" duration="0" />
<testCase name="getRelativePath handles empty basePath" duration="0" />
</file>
Expand Down

0 comments on commit e190907

Please sign in to comment.