mirror of
https://github.com/google/blockly.git
synced 2026-01-07 17:10:11 +01:00
Update test setup for GitHub Actions
- Do the (hopefully now) correct test to check we are on macOS. - Fix brew command-line syntax for installing google-chrome.
This commit is contained in:
committed by
Christopher Allen
parent
5cc0df775d
commit
ab33cd567a
@@ -1,8 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ "${TRAVIS_OS_NAME}" == "osx" ]
|
||||
if [ "${RUNNER_OS}" == "macOS" ]
|
||||
then
|
||||
brew cask install google-chrome
|
||||
brew install google-chrome
|
||||
sudo Xvfb :99 -ac -screen 0 1024x768x8 &
|
||||
export CHROME_BIN="/Applications/Google Chrome.app"
|
||||
npm run test:prepare > /dev/null &
|
||||
|
||||
Reference in New Issue
Block a user