mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Merge 59018ecc26
into 0cd5a259ae
This commit is contained in:
commit
78c1439d51
2 changed files with 38 additions and 0 deletions
17
.github/codecov.yml
vendored
Normal file
17
.github/codecov.yml
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
github_checks:
|
||||
annotations: true
|
||||
|
||||
codecov:
|
||||
require_ci_to_pass: yes
|
||||
|
||||
coverage:
|
||||
precision: 2
|
||||
round: down
|
||||
range: 65...100
|
||||
|
||||
status:
|
||||
# Learn more at https://docs.codecov.io/docs/commit-status
|
||||
project:
|
||||
default:
|
||||
target: 65%
|
||||
threshold: 0.05 # allow this much decrease on project
|
21
.github/workflows/tests-coverage.yml
vendored
Normal file
21
.github/workflows/tests-coverage.yml
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
name: Tests coverage
|
||||
|
||||
on: pull_request
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Setup Node.js 14.x
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 14.x
|
||||
- name: Install and test
|
||||
run: |
|
||||
yarn --frozen-lockfile
|
||||
yarn test:app --coverage
|
||||
- name: Test Coverage
|
||||
uses: codecov/codecov-action@v3
|
||||
with:
|
||||
fail_ci_if_error: true
|
Loading…
Add table
Add a link
Reference in a new issue