Skip to content

Commit

Permalink
Merge pull request #388 from Neurodiversity-in-Business/usiiasirrush-…
Browse files Browse the repository at this point in the history
…patch-1

Update node.js.yml
  • Loading branch information
UsiDiamond authored Aug 16, 2023
2 parents ee12b3d + dca6298 commit 164ed02
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,12 @@ name: Run Build and Unit Tests
on:
push:
branches: ["development"]
pull_request:
branches: ["development"]

jobs:
build:
permissions: write-all
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down Expand Up @@ -48,4 +51,22 @@ jobs:
- name: Get current date
id: date
run: echo "::set-output name=date::$(date +'%Y-%m-%d-%H-%M-%S')"

- name: Code Coverage Report
uses: irongut/[email protected]
with:
filename: coverage/neurodiversity-main/cobertura-coverage.xml
badge: true
fail_below_min: false
format: markdown
hide_branch_rate: false
hide_complexity: true
indicators: true
output: both
thresholds: '50 80'

- name: Add Coverage PR Comment
uses: marocchino/sticky-pull-request-comment@v2
if: github.event_name == 'pull_request'
with:
recreate: true
path: code-coverage-results.md

0 comments on commit 164ed02

Please sign in to comment.