File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3333 USE_COVERALLS : true
3434 steps :
3535 - 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
4238 - name : Check Chrome version
4339 run : google-chrome --version
4440 - name : Set Display environment variable
6359 npm install
6460 npx webpack
6561 # 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