mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-08-28 17:08:09 +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
|
Reference in New Issue
Block a user