Skip to content

Commit

Permalink
remove install_chrome_headless.sh CI invocations, revert changes to it
Browse files Browse the repository at this point in the history
  • Loading branch information
shazarre committed Aug 24, 2023
1 parent 40061c9 commit 5e64dbb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,6 @@ jobs:
restore-keys: |
${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-"
- run: ./bin/install_chrome_headless.sh
- run: echo 'export PATH=/usr/local/bin:$PATH' >> $GITHUB_ENV
- name: mix test --exclude no_nethermind
run: |
Expand Down Expand Up @@ -453,7 +452,6 @@ jobs:
restore-keys: |
${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-explorer-npm
- run: ./bin/install_chrome_headless.sh
- run: echo 'export PATH=/usr/local/bin:$PATH' >> $GITHUB_ENV
- name: mix test --exclude no_nethermind --exclude smart_contract_compiler
run: |
Expand Down Expand Up @@ -617,7 +615,6 @@ jobs:
run: node node_modules/webpack/bin/webpack.js --mode development
working-directory: "apps/block_scout_web/assets"

- run: ./bin/install_chrome_headless.sh
- run: echo 'export PATH=/usr/local/bin:$PATH' >> $GITHUB_ENV

- name: mix test --exclude no_nethermind
Expand Down
10 changes: 5 additions & 5 deletions bin/install_chrome_headless.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
export DISPLAY=:99.0
sh -e /etc/init.d/xvfb start
# export CHROMEDRIVER_VERSION=$(curl -s http://chromedriver.storage.googleapis.com/LATEST_RELEASE)
export CHROMEDRIVER_VERSION=$(curl -s http://chromedriver.storage.googleapis.com/LATEST_RELEASE)
# export CHROMEDRIVER_VERSION='104.0.5112.79'
sudo apt update
# curl -L -O "http://chromedriver.storage.googleapis.com/${CHROMEDRIVER_VERSION}/chromedriver_linux64.zip"
# unzip chromedriver_linux64.zip
# sudo chmod +x chromedriver
# sudo mv chromedriver /usr/local/bin
curl -L -O "http://chromedriver.storage.googleapis.com/${CHROMEDRIVER_VERSION}/chromedriver_linux64.zip"
unzip chromedriver_linux64.zip
sudo chmod +x chromedriver
sudo mv chromedriver /usr/local/bin
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo apt install -y ./google-chrome-stable_current_amd64.deb
sudo apt-get install -y libstdc++6 libnss3-dev

0 comments on commit 5e64dbb

Please sign in to comment.