Skip to content

Commit e7ed50a

Browse files
committed
Disable code coverage in CI for now
1 parent d552fcf commit e7ed50a

File tree

1 file changed

+43
-34
lines changed

1 file changed

+43
-34
lines changed

.github/workflows/CI-CD.yaml

Lines changed: 43 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,16 @@ jobs:
4848
run: npm run test:typescript
4949

5050
- name: Run Node tests
51-
run: npm run coverage:node
51+
run: npm run test:node
5252

53-
- name: Send code coverage results to Coveralls
54-
uses: coverallsapp/[email protected]
55-
with:
56-
github-token: ${{ secrets.GITHUB_TOKEN }}
57-
parallel: true
53+
# - name: Run Node tests
54+
# run: npm run coverage:node
55+
56+
# - name: Send code coverage results to Coveralls
57+
# uses: coverallsapp/[email protected]
58+
# with:
59+
# github-token: ${{ secrets.GITHUB_TOKEN }}
60+
# parallel: false
5861

5962
browser_tests:
6063
name: Browser Tests
@@ -64,8 +67,8 @@ jobs:
6467
fail-fast: true
6568
matrix:
6669
os:
67-
- ubuntu-latest # Chrome, Firefox
68-
- windows-latest # Internet Explorer
70+
- ubuntu-latest # Chrome, Firefox
71+
- windows-latest # Internet Explorer
6972

7073
steps:
7174
- name: Checkout source
@@ -80,36 +83,42 @@ jobs:
8083
run: npm ci
8184

8285
- name: Run tests
83-
run: npm run coverage:browser
86+
run: npm run test:browser
8487
env:
8588
SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }}
8689
SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }}
8790

88-
- name: Combine code coverage data into a single file
89-
shell: bash
90-
run: |
91-
ls -Rlh coverage/*/lcov.info
92-
cat coverage/*/lcov.info > ./coverage/lcov.info
93-
94-
- name: Send code coverage results to Coveralls
95-
uses: coverallsapp/[email protected]
96-
with:
97-
github-token: ${{ secrets.GITHUB_TOKEN }}
98-
parallel: true
99-
100-
coverage:
101-
name: Code Coverage
102-
runs-on: ubuntu-latest
103-
timeout-minutes: 5
104-
needs:
105-
- node_tests
106-
- browser_tests
107-
steps:
108-
- name: Let Coveralls know that all tests have finished
109-
uses: coverallsapp/[email protected]
110-
with:
111-
github-token: ${{ secrets.GITHUB_TOKEN }}
112-
parallel-finished: true
91+
# - name: Run tests
92+
# run: npm run coverage:browser
93+
# env:
94+
# SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }}
95+
# SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }}
96+
97+
# - name: Combine code coverage data into a single file
98+
# shell: bash
99+
# run: |
100+
# ls -Rlh coverage/*/lcov.info
101+
# cat coverage/*/lcov.info > ./coverage/lcov.info
102+
103+
# - name: Send code coverage results to Coveralls
104+
# uses: coverallsapp/[email protected]
105+
# with:
106+
# github-token: ${{ secrets.GITHUB_TOKEN }}
107+
# parallel: true
108+
109+
# coverage:
110+
# name: Code Coverage
111+
# runs-on: ubuntu-latest
112+
# timeout-minutes: 5
113+
# needs:
114+
# - node_tests
115+
# - browser_tests
116+
# steps:
117+
# - name: Let Coveralls know that all tests have finished
118+
# uses: coverallsapp/[email protected]
119+
# with:
120+
# github-token: ${{ secrets.GITHUB_TOKEN }}
121+
# parallel-finished: true
113122

114123
release:
115124
name: Release

0 commit comments

Comments
 (0)