Skip to content

Commit

Permalink
Update script
Browse files Browse the repository at this point in the history
  • Loading branch information
abailly-akamai committed Oct 10, 2023
1 parent df86f50 commit 7e87958
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/coverage_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.base_ref }} # The base branch of the PR (develop)
- name: Use Node.js v18.14.0
uses: actions/setup-node@v3
with:
Expand All @@ -31,7 +33,7 @@ jobs:
runs-on: ubuntu-latest
needs: base_branch_coverage
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v3 # Checkout the PR branch
- name: Use Node.js v18.14.0
uses: actions/setup-node@v3
with:
Expand All @@ -41,6 +43,7 @@ jobs:
uses: actions/download-artifact@v3
with:
name: base-lcov
path: packages/manager/coverage/base-lcov.info

- name: Install dependencies
run: yarn
Expand All @@ -56,7 +59,7 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}
barecheck-github-app-token: ${{ secrets.BARECHECK_GITHUB_APP_TOKEN }}
lcov-file: "packages/manager/coverage/lcov.info"
base-lcov-file: "packages/manager/base-lcov.info"
base-lcov-file: "packages/manager/coverage/base-lcov.info"
minimum-ratio: 0 # Fails Github action once code coverage is decreasing
send-summary-comment: true
show-annotations: "warning" # Possible options warning|error

0 comments on commit 7e87958

Please sign in to comment.