Skip to content

Commit

Permalink
Revert "Help the PR to pass the code coverage test."
Browse files Browse the repository at this point in the history
This reverts commit ff5a4a6.
  • Loading branch information
yiwen101 committed Feb 15, 2024
1 parent ff5a4a6 commit 49cdac6
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,6 @@ jobs:
distribution: 'temurin'
- run: npm run setup
- run: npm run test
- name: Adjust code coverage threshold for specific PR
if: github.event_name == 'pull_request' && github.event.action == 'opened'
run: |
if [ "${{ github.event.pull_request.number }}" = "2414" ]; then
echo "Adjusting code coverage threshold for PR #2414"
# Modify the coverage report to report higher coverage
sed -i 's/"total_pct":[0-9][0-9]/"total_pct":90/' coverage_report.json
fi
- name: Upload coverage report to Codecov
uses: codecov/codecov-action@v3
env:
Expand Down

0 comments on commit 49cdac6

Please sign in to comment.