Skip to content

Commit f571f0a

Browse files
committed
Disable code coverage in CI for now
1 parent 56f7263 commit f571f0a

File tree

1 file changed

+41
-38
lines changed

1 file changed

+41
-38
lines changed

.github/workflows/CI-CD.yaml

Lines changed: 41 additions & 38 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,36 @@ jobs:
8083
run: npm ci
8184

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

114117
release:
115118
name: Release

0 commit comments

Comments
 (0)