File tree Expand file tree Collapse file tree 1 file changed +16
-4
lines changed Expand file tree Collapse file tree 1 file changed +16
-4
lines changed Original file line number Diff line number Diff line change 58
58
include :
59
59
- os : ubuntu-20.04
60
60
browser : firefox
61
+ type : ' e2e'
62
+ - os : ubuntu-20.04
63
+ browser : firefox
64
+ type : ' component'
61
65
- os : ubuntu-latest
62
66
browser : chrome
67
+ type : ' e2e'
68
+ - os : ubuntu-latest
69
+ browser : chrome
70
+ type : ' component'
63
71
# TODO: re-enable once macos build is stable #590
64
72
# - os: macos-latest
65
73
# browser: edge
@@ -72,13 +80,17 @@ jobs:
72
80
with :
73
81
node-version : ' 16'
74
82
75
- - name : e2e
83
+ - name : Test
76
84
uses : cypress-io/github-action@v4
77
85
with :
78
86
start : yarn run serve --hide=CLIENT # turn off build output because it's absurdly long
79
87
wait-on : http://localhost:8080/
80
88
config-file : cypress.config.js
81
- spec : " tests/e2e/**/*"
89
+ component : ${{ matrix.type == 'component' }}
90
+ spec : |
91
+ tests/e2e/**/*
92
+ cypress/component/*
93
+ cypress/component/**/*
82
94
browser : ${{ matrix.browser }}
83
95
env :
84
96
CYPRESS_baseUrl : http://localhost:8080/
94
106
with :
95
107
token : ${{ secrets.CODECOV_TOKEN }}
96
108
file : ./coverage/lcov.info
97
- name : ' ${{ github.job }} ${{ matrix.os }} ${{ matrix.browser }}'
98
- flags : e2e
109
+ name : ' ${{ github.job }} ${{ matrix.os }} ${{ matrix.browser }} ${{ matrix.type }} '
110
+ flags : ${{ matrix.type }}
99
111
fail_ci_if_error : false
You can’t perform that action at this time.
0 commit comments