File tree Expand file tree Collapse file tree 2 files changed +33
-5
lines changed
Expand file tree Collapse file tree 2 files changed +33
-5
lines changed Original file line number Diff line number Diff line change 1+ name : Google Chrome CI
2+
3+ on : [push, pull_request]
4+
5+ jobs :
6+ build :
7+ runs-on : ubuntu-latest
8+
9+ steps :
10+ - uses : actions/checkout@v3
11+ - name : install dependencies
12+ run : |
13+ sudo apt-get update
14+ wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
15+ sudo apt install ./google-chrome-stable_current_amd64.deb -y
16+ sudo apt-get install ruby-dev build-essential zlib1g-dev -y
17+ sudo apt-get install libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libgconf-2-4 libnss3 libxss1 libasound2 libxtst6 xauth xvfb -y
18+ - name : install ruby and node deps
19+ run : |
20+ mkdir ~/.ruby
21+ echo 'export GEM_HOME=~/.ruby/' >> ~/.bashrc
22+ echo 'export PATH="$PATH:~/.ruby/bin"' >> ~/.bashrc
23+ source ~/.bashrc
24+ sudo gem install jekyll bundler
25+ sudo bundle install
26+ npm install
27+ - name : run Chrome tests
28+ run : bundle exec jekyll serve & npx cypress run --browser chrome
29+
30+ # gems should not be installed with, and bundle should not be run with `sudo`.
31+ # We are doing it because this is only a temporary docker container for CI runs
32+ # so it doesn't particularly matter
Original file line number Diff line number Diff line change 1- name : CI
1+ name : Electron CI
22
33on : [push, pull_request]
44
1111 - name : install dependencies
1212 run : |
1313 sudo apt-get update
14- wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
15- sudo apt install ./google-chrome-stable_current_amd64.deb -y
1614 sudo apt-get install ruby-dev build-essential zlib1g-dev -y
1715 sudo apt-get install libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libgconf-2-4 libnss3 libxss1 libasound2 libxtst6 xauth xvfb -y
1816 - name : install ruby and node deps
3028 # firefox does not currently work
3129 # - name: run Firefox tests
3230 # run: bundle exec jekyll serve & npx cypress run --browser firefox
33- - name : run Chrome tests
34- run : bundle exec jekyll serve & npx cypress run --browser chrome
3531
3632# gems should not be installed with, and bundle should not be run with `sudo`.
3733# We are doing it because this is only a temporary docker container for CI runs
You can’t perform that action at this time.
0 commit comments