mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 19:53:36 +00:00
Add codecov github action
This commit is contained in:
parent
612cf25878
commit
5bc2c207db
15
.github/workflows/codecov-test-suites.yml
vendored
Normal file
15
.github/workflows/codecov-test-suites.yml
vendored
Normal 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
|
1
.github/workflows/enforce-changelog.yml
vendored
1
.github/workflows/enforce-changelog.yml
vendored
@ -1,4 +1,5 @@
|
||||
name: "Enforce Changelog"
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened, synchronize, reopened, ready_for_review, labeled, unlabeled]
|
||||
|
2
codecov.yml
Normal file
2
codecov.yml
Normal file
@ -0,0 +1,2 @@
|
||||
fixes:
|
||||
- "/home/runner/work/rejas/MagicMirror/::"
|
Loading…
x
Reference in New Issue
Block a user