@@ -48,13 +48,16 @@ jobs:
48
48
run : npm run test:typescript
49
49
50
50
- name : Run Node tests
51
- run : npm run coverage :node
51
+ run : npm run test :node
52
52
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
58
61
59
62
browser_tests :
60
63
name : Browser Tests
64
67
fail-fast : true
65
68
matrix :
66
69
os :
67
- - ubuntu-latest # Chrome, Firefox
68
- - windows-latest # Internet Explorer
70
+ - ubuntu-latest # Chrome, Firefox
71
+ - windows-latest # Internet Explorer
69
72
70
73
steps :
71
74
- name : Checkout source
@@ -80,36 +83,42 @@ jobs:
80
83
run : npm ci
81
84
82
85
- name : Run tests
83
- run : npm run coverage :browser
86
+ run : npm run test :browser
84
87
env :
85
88
SAUCE_USERNAME : ${{ secrets.SAUCE_USERNAME }}
86
89
SAUCE_ACCESS_KEY : ${{ secrets.SAUCE_ACCESS_KEY }}
87
90
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
113
122
114
123
release :
115
124
name : Release
0 commit comments