mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 11:50:00 +00:00
Use codecov action instead of bash command
This commit is contained in:
parent
9cd998f219
commit
003e948899
9
.github/workflows/codecov-test-suites.yml
vendored
9
.github/workflows/codecov-test-suites.yml
vendored
@ -5,13 +5,16 @@ name: "Run Codecov Tests"
|
|||||||
on: [push]
|
on: [push]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
run-and-upload-coverage-report:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- run: |
|
- run: |
|
||||||
Xvfb :99 -screen 0 1024x768x16 &
|
Xvfb :99 -screen 0 1024x768x16 &
|
||||||
export DISPLAY=:99
|
export DISPLAY=:99
|
||||||
npm install
|
npm ci
|
||||||
npm run test:coverage
|
npm run test:coverage
|
||||||
bash <(curl -s https://codecov.io/bash)
|
- uses: codecov/codecov-action@v1
|
||||||
|
with:
|
||||||
|
file: ./coverage/lcov.info
|
||||||
|
fail_ci_if_error: true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user