File tree Expand file tree Collapse file tree 1 file changed +12
-9
lines changed Expand file tree Collapse file tree 1 file changed +12
-9
lines changed Original file line number Diff line number Diff line change @@ -25,19 +25,22 @@ jobs:
2525 - v1-deps-{{ .Branch }}-{{ checksum "package.json" }}
2626 - v1-deps-{{ .Branch }}
2727 - v1-deps
28- # TODO (DP) slim this down
28+ # TODO (DP) slim this down source: https://github.com/cypress-io/cypress-docker-images/blob/ec0962672571ff557bd3654000a0aa5a0a02057b/base/14.7.0/Dockerfile#L11
2929 - run : |
3030 sudo apt-get update
31- sudo apt-get --yes install fonts-liberation libx11-dev libxkbfile-dev libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libgconf-2-4 libnss3 libxss1 libasound2 libxtst6 xauth xdg-utils xvfb
31+ sudo apt-get --yes install libx11-dev libxkbfile-dev libgtk2.0-0 libgtk-3-0 libgconf-2-4 libgbm-dev libnotify-dev libnss3 libxss1 libasound2 libxtst6 xauth xvfb
3232
3333 # - setup_remote_docker:
3434 # version: 20.10.2
35- # docker_layer_caching: false
36- - run :
37- name : get and install chrome
38- command : |
39- wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
40- sudo dpkg -i google-chrome-stable_current_amd64.deb
35+ # docker_layer_caching: false
36+
37+ # (DP) only activate on CI if absolutely necessary. Electron browser tests are our gold standard
38+ # - run:
39+ # name: get and install chrome
40+ # command: |
41+ # sudo apt-get --yes install fonts-liberation xdg-utils
42+ # wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
43+ # sudo dpkg -i google-chrome-stable_current_amd64.deb
4144 - run :
4245 name : install dockerize
4346 command : wget https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSION/dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz && sudo tar -C /usr/local/bin -xzvf dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz && rm dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz
7275 curl -v --connect-timeout 4 --max-time 8 http://localhost:3000
7376 - run :
7477 working_directory : .
75- command : npx cypress run --config defaultCommandTimeout=58000
78+ command : npx cypress run --config defaultCommandTimeout=40000
7679 # command: npx cypress run -b chrome --config defaultCommandTimeout=58000
7780 no_output_timeout : 2m
7881workflows :
You can’t perform that action at this time.
0 commit comments