Add codecov github action

This commit is contained in:
rejas 2021-01-01 22:18:06 +01:00 committed by veeck
parent 612cf25878
commit 5bc2c207db
3 changed files with 19 additions and 1 deletions

View File

@ -0,0 +1,15 @@
name: Run Test Suites
on: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: |
Xvfb :99 -screen 0 1024x768x16 &
export DISPLAY=:99
npm install
npm run test:coverage
bash <(curl -s https://codecov.io/bash) # Upload to Codecov

View File

@ -1,4 +1,5 @@
name: "Enforce Changelog"
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review, labeled, unlabeled]

2
codecov.yml Normal file
View File

@ -0,0 +1,2 @@
fixes:
- "/home/runner/work/rejas/MagicMirror/::"