Merge pull request #16 from m-tartari/chore/ci/codecov
👷 chore(ci): add codecov
This commit is contained in:
@@ -0,0 +1,25 @@
|
|||||||
|
codecov:
|
||||||
|
require_ci_to_pass: true
|
||||||
|
|
||||||
|
coverage:
|
||||||
|
precision: 2 # how many decimal places to display in the UI: 0 <= value <= 4
|
||||||
|
round: nearest # how coverage is rounded: down/up/nearest
|
||||||
|
range: 50...75 # custom range of coverage colors from red -> yellow -> green
|
||||||
|
status:
|
||||||
|
# pull-requests only
|
||||||
|
patch:
|
||||||
|
default:
|
||||||
|
threshold: 3.0% # coverage can drop up top 3% without giving failure
|
||||||
|
project:
|
||||||
|
default:
|
||||||
|
threshold: 3.0% # coverage can drop up top 3% without giving failure
|
||||||
|
|
||||||
|
# comment: false # to disable comments
|
||||||
|
comment:
|
||||||
|
layout: 'header, diff, changes, sunburst, suggestions, tree'
|
||||||
|
behavior:
|
||||||
|
default
|
||||||
|
# option: "default" posts once then update, posts new if delete
|
||||||
|
# option: "once" post once then updates, if deleted do not post new
|
||||||
|
# option: "new" delete old, post new
|
||||||
|
# option: "spammy" post new
|
||||||
@@ -22,4 +22,4 @@ updates:
|
|||||||
mui:
|
mui:
|
||||||
patterns:
|
patterns:
|
||||||
- '@mui/material'
|
- '@mui/material'
|
||||||
- '@mui/icon-material'
|
- '@mui/icons-material'
|
||||||
|
|||||||
@@ -28,8 +28,8 @@ jobs:
|
|||||||
- name: Test and generate coverage report
|
- name: Test and generate coverage report
|
||||||
run: npm run test:coverage
|
run: npm run test:coverage
|
||||||
|
|
||||||
# TODO: upload coverage report to codecov
|
- name: Upload coverage reports to Codecov
|
||||||
# - name: Upload coverage report to Codecov
|
uses: codecov/codecov-action@v4.0.1
|
||||||
# uses: codecov/codecov-action@v3
|
env:
|
||||||
# with:
|
token: ${{ secrets.CODECOV_TOKEN }}
|
||||||
# token: ${{ secrets.CODECOV_TOKEN }}
|
slug: m-tartari/m-tartari.github.io
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# Simple workflow for deploying static content to GitHub Pages
|
# Simple workflow for deploying static content to GitHub Pages
|
||||||
name: Deploy static content to Pages
|
name: deploy
|
||||||
|
|
||||||
on:
|
on:
|
||||||
# Runs on pushes targeting the default branch
|
# Runs on pushes targeting the default branch
|
||||||
|
|||||||
Vendored
+1
@@ -68,4 +68,5 @@
|
|||||||
"todo-tree.filtering.excludeGlobs": [
|
"todo-tree.filtering.excludeGlobs": [
|
||||||
"**/node_modules"
|
"**/node_modules"
|
||||||
],
|
],
|
||||||
|
"vitest.enable": true
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,9 @@
|
|||||||
|
|
||||||
# [m-tartari.eu](https://m-tartari.eu/)
|
# [m-tartari.eu](https://m-tartari.eu/)
|
||||||
|
|
||||||
|
[](./.github/workflows/deploy.yml)
|
||||||
|
[](./.github/workflows/build.yml)
|
||||||
|
[](https://codecov.io/gh/m-tartari/m-tartari.github.io)
|
||||||
|
|
||||||
A website where I showcase my projects and skills.
|
A website where I showcase my projects and skills.
|
||||||
|
|
||||||
## React + TypeScript + Vite
|
## React + TypeScript + Vite
|
||||||
|
|||||||
Reference in New Issue
Block a user