mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-08-21 12:55:22 +00:00
Add codecov github action
This commit is contained in:
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
|
3
.github/workflows/enforce-changelog.yml
vendored
3
.github/workflows/enforce-changelog.yml
vendored
@@ -1,10 +1,11 @@
|
|||||||
name: "Enforce Changelog"
|
name: "Enforce Changelog"
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
types: [opened, synchronize, reopened, ready_for_review, labeled, unlabeled]
|
types: [opened, synchronize, reopened, ready_for_review, labeled, unlabeled]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
# Enforces the update of a changelog file on every pull request
|
# Enforces the update of a changelog file on every pull request
|
||||||
check:
|
check:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
2
codecov.yml
Normal file
2
codecov.yml
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
fixes:
|
||||||
|
- "/home/runner/work/rejas/MagicMirror/::"
|
Reference in New Issue
Block a user