fix: multisig fee (#2705) #1186
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update global Coverage on Readme | |
on: | |
push: | |
branches: | |
- "dev" | |
paths-ignore: | |
- '**/*.md' | |
- '**/*.yml' | |
- '.github/**' | |
- 'scripts/**' | |
- 'tests/**' | |
env: | |
JEST_COVERAGE_AUTH: ${{ secrets.PAT_GIST_TOKEN }} | |
GIST_ID: 77132f25d05c7e9264cd410aef162a7e | |
jobs: | |
update-coverage-on-readme: | |
name: Update Coverage on Readme | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: ⚙️ Install dependencies | |
uses: ./.github/workflows/install-pnpm | |
- name: Run Tests | |
run: pnpm test:coverage | |
- name: Jest coverage comment | |
id: coverageComment | |
uses: MishaKav/jest-coverage-comment@main | |
with: | |
hide-comment: true | |
coverage-path: ./coverage.txt | |
junitxml-path: ./junit.xml | |
- name: Check the output coverage | |
run: | | |
echo "Summary Report" | |
echo "Coverage Percantage - ${{ steps.coverageComment.outputs.coverage }}" | |
echo "Coverage Color - ${{ steps.coverageComment.outputs.color }}" | |
echo "Summary Html - ${{ steps.coverageComment.outputs.summaryHtml }}" | |
echo "Junit Report" | |
echo "tests - ${{ steps.coverageComment.outputs.tests }}" | |
echo "skipped - ${{ steps.coverageComment.outputs.skipped }}" | |
echo "failures - ${{ steps.coverageComment.outputs.failures }}" | |
echo "errors - ${{ steps.coverageComment.outputs.errors }}" | |
echo "time - ${{ steps.coverageComment.outputs.time }}" | |
echo "Coverage Report" | |
echo "lines - ${{ steps.coverageComment.outputs.lines }}" | |
echo "branches - ${{ steps.coverageComment.outputs.branches }}" | |
echo "functions - ${{ steps.coverageComment.outputs.functions }}" | |
echo "statements - ${{ steps.coverageComment.outputs.statements }}" | |
echo "coverage - ${{ steps.coverageComment.outputs.coverage }}" | |
echo "color - ${{ steps.coverageComment.outputs.color }}" | |
echo "Coverage Html - ${{ steps.coverageComment.outputs.coverageHtml }}" | |
- name: Create the Badge | |
uses: schneegans/[email protected] | |
with: | |
auth: ${{ env.JEST_COVERAGE_AUTH }} | |
gistID: ${{ env.GIST_ID }} | |
filename: jest-coverage-main.json | |
label: Test coverage | |
message: ${{ steps.coverageComment.outputs.coverage }}% | |
color: ${{ steps.coverageComment.outputs.color }} | |
namedLogo: jest |