Skip to content

Update README.md

Update README.md #125

Workflow file for this run

name: Workflow for Codecov Action
on: [pull_request]
jobs:
run:
permissions: read-all
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
steps:
- name: Checkout
uses: actions/[email protected]
- name: Install dependencies
run: npm install
- name: Lint
run: npm run lint
- name: Upload test results to Codecov (calculator)
uses: ./
with:
fail_ci_if_error: true
files: ./demo/calculator/junit.xml
flags: ${{ matrix.os }}
verbose: true
token: ${{ secrets.CODECOV_ORG_TOKEN }}
- name: Upload test results to Codecov (demo)
uses: ./
with:
fail_ci_if_error: true
files: ./demo/coverage-test/junit.xml
flags: ${{ matrix.os }}
verbose: true
token: ${{ secrets.CODECOV_ORG_TOKEN }}
- name: Upload test results to Codecov (calculator) (staging)
uses: ./
with:
fail_ci_if_error: true
files: ./demo/calculator/junit.xml
flags: ${{ matrix.os }}
verbose: true
url: ${{ secrets.CODECOV_STAGING_URL }}
token: ${{ secrets.CODECOV_ORG_TOKEN_STAGING }}
- name: Upload test results to Codecov (demo) (staging)
uses: ./
with:
fail_ci_if_error: true
url: ${{ secrets.CODECOV_STAGING_URL }}
token: ${{ secrets.CODECOV_ORG_TOKEN_STAGING }}
files: ./demo/coverage-test/junit.xml
flags: ${{ matrix.os }}
verbose: true