Skip to content

Commit ed72601

Browse files
committed
perf(ci): remove browser deps
rebalance testsuite see #452 #taskid 158
1 parent ced7d94 commit ed72601

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

.circleci/config.yml

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff 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
@@ -72,7 +75,7 @@ jobs:
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
7881
workflows:

0 commit comments

Comments
 (0)