[dev-2.0] Benchmark setup and sample report for render and batch #5276
Workflow file for this run
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: Testing | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Use Node.js 20.x | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 20.x | |
- name: Get node modules | |
run: npm ci | |
env: | |
CI: true | |
- name: build and test | |
run: npm test | |
env: | |
CI: true | |
- name: report test coverage | |
run: bash <(curl -s https://codecov.io/bash) -f coverage/coverage-final.json | |
env: | |
CI: true |