Skip to content

Commit

Permalink
set up coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
brichbash committed Aug 19, 2024
1 parent f50e159 commit aba65f0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/qodana.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,12 @@ jobs:
with:
node-version: '16'
- run: npm install
- run: npm run js-test-karma
- name: 'Qodana Scan'
uses: JetBrains/qodana-action@main
env:
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}
with:
pr-mode: true
pr-mode: false
push-fixes: pull-request
upload-result: true

2 changes: 1 addition & 1 deletion js/tests/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ if (BROWSERSTACK) {
reporters.push('coverage-istanbul')
config.detectBrowsers = detectBrowsers
config.coverageIstanbulReporter = {
dir: path.resolve(__dirname, '../coverage/'),
dir: path.resolve(__dirname, '../../.qodana/code-coverage/'),
reports: ['lcov', 'text-summary'],
thresholds: {
emitWarning: false,
Expand Down

0 comments on commit aba65f0

Please sign in to comment.