mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-24 17:59:39 +02:00
ci: re-enable coveralls coverage upload
Reverts commits: - Disabling coveralls temporarillyaedf066337
- Tmo disabling of coverallsa6b4cb24b8
I'm not 100% sure whether the `parallel` option is needed, but I've left it disabled for now, since it'd would mean that we need to merge both the `test.yml` and the `e2e.yml` file together.
This commit is contained in:
6
.github/workflows/e2e
vendored
6
.github/workflows/e2e
vendored
@@ -36,3 +36,9 @@ jobs:
|
|||||||
run: yarn e2e
|
run: yarn e2e
|
||||||
env:
|
env:
|
||||||
CYPRESS_CACHE_FOLDER: .cache/Cypress
|
CYPRESS_CACHE_FOLDER: .cache/Cypress
|
||||||
|
|
||||||
|
- name: Upload Coverage to Coveralls
|
||||||
|
uses: coverallsapp/github-action@master
|
||||||
|
with:
|
||||||
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
flag-name: e2e
|
||||||
|
9
.github/workflows/test.yml
vendored
9
.github/workflows/test.yml
vendored
@@ -32,3 +32,12 @@ jobs:
|
|||||||
- name: Run Unit Tests
|
- name: Run Unit Tests
|
||||||
run: |
|
run: |
|
||||||
yarn ci --coverage
|
yarn ci --coverage
|
||||||
|
|
||||||
|
- name: Upload Coverage to Coveralls
|
||||||
|
# it feels a bit weird to use @master, but that's what the docs use
|
||||||
|
# (coveralls also doesn't publish a @v1 we can use)
|
||||||
|
# https://github.com/marketplace/actions/coveralls-github-action
|
||||||
|
uses: coverallsapp/github-action@master
|
||||||
|
with:
|
||||||
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
flag-name: unit
|
||||||
|
Reference in New Issue
Block a user