File tree Expand file tree Collapse file tree 7 files changed +1737
-198
lines changed Expand file tree Collapse file tree 7 files changed +1737
-198
lines changed Original file line number Diff line number Diff line change @@ -12,14 +12,18 @@ executors:
1212 resource_class : medium
1313
1414commands :
15-
16- install_tools :
15+ install-codecov-requirements :
1716 steps :
1817 - run :
19- name : " Install tools "
20- command : |
18+ name : " Install codecov requirements "
19+ command : |
2120 apt-get -y update && apt-get install -y git curl gpg
22- # cypress requirements
21+
22+ install-cypress-requirements :
23+ steps :
24+ - run :
25+ name : " Install cypress requirements"
26+ command : |
2327 apt-get -y install libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libnss3 libxss1 libasound2 libxtst6 xauth xvfb
2428
2529 fortify_scan :
7074
7175 steps :
7276 - checkout
73- - install_tools
7477
7578 - *restore_cache
7679
8790
8891 steps :
8992 - checkout
90- - install_tools
9193
9294 - *restore_cache
9395
@@ -99,19 +101,32 @@ jobs:
99101 << : *defaults
100102 steps :
101103 - checkout
102- - install_tools
104+ - install-codecov-requirements
105+ - install-cypress-requirements
103106
104107 - *restore_cache
105108
106109 - run :
107110 name : Test
108111 command : npm run test
109112
113+ test-ssr :
114+ << : *defaults
115+ steps :
116+ - checkout
117+ - install-codecov-requirements
118+
119+ - *restore_cache
120+
121+ - run :
122+ name : Test SSR
123+ command : npm run test:ssr -- --coverage
124+
110125 release :
111126 << : *defaults
112127 steps :
113128 - checkout
114- - install_tools
129+ - install-codecov-requirements
115130 - *restore_cache
116131 - run :
117132 name : Fix host authenticity for github.com
@@ -135,7 +150,7 @@ jobs:
135150 << : *defaults
136151 steps :
137152 - checkout
138- - install_tools
153+ - install-codecov-requirements
139154 - *restore_cache
140155 - run :
141156 name : Define environment variable with lastest commit's message
@@ -163,6 +178,17 @@ workflows:
163178 post-steps :
164179 - codecov/upload :
165180 file : tests/coverage/clover.xml
181+ flags : e2e
182+ - test-ssr :
183+ requires :
184+ - install
185+ filters :
186+ branches :
187+ ignore : master
188+ post-steps :
189+ - codecov/upload :
190+ file : coverage/clover.xml
191+ flags : ssr
166192 - lint_commit_message :
167193 requires :
168194 - install
Original file line number Diff line number Diff line change 55npm-debug.log *
66/build
77.DS_Store
8- /tests /coverage
98/tests /.nyc_output
109cypress
1110pnpm-lock.yaml
1211yarn.lock
13- /.vscode
12+ /.vscode
13+ coverage
You can’t perform that action at this time.
0 commit comments