File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 33
33
USE_COVERALLS : true
34
34
steps :
35
35
- name : Install Chrome
36
- run : |
37
- sudo apt-get update
38
- sudo apt-get install -y xvfb libappindicator1 fonts-liberation
39
- wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
40
- sudo dpkg -i google-chrome*.deb
41
- "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen scn 1600x1200x16"
36
+ uses : browser-actions/setup-chrome@latest
37
+ run : chrome --version
42
38
- name : Check Chrome version
43
39
run : google-chrome --version
44
40
- name : Set Display environment variable
63
59
npm install
64
60
npx webpack
65
61
# Add or replace test runners here
66
- - name : Run tests
67
- run : bundle exec rake react_on_rails:locale
62
+ - name : Run tests with xvfb
63
+ uses : GabrielBB/xvfb-action@v1
64
+ with :
65
+ run : bundle exec rake react_on_rails:locale
66
+ working-directory : ./ # optional
67
+ options : " :99 -ac -screen scn 1600x1200x16"
You can’t perform that action at this time.
0 commit comments