Add web app creation challenge (#272)

This commit is contained in:
merwanehamadi
2023-08-08 13:08:51 -07:00
committed by GitHub
parent e89d073bfa
commit 305f3a6138
5 changed files with 239 additions and 126 deletions

View File

@@ -120,6 +120,21 @@ jobs:
submodules: true
token: ${{ env.GH_TOKEN }}
- name: Setup Chrome and ChromeDriver
run: |
sudo apt-get update
sudo apt-get install -y unzip xvfb
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'
sudo apt-get -y update
sudo apt-get -y install google-chrome-stable
CHROMEDRIVER_VERSION=$(curl -s https://chromedriver.storage.googleapis.com/LATEST_RELEASE)
wget https://chromedriver.storage.googleapis.com/$CHROMEDRIVER_VERSION/chromedriver_linux64.zip
unzip chromedriver_linux64.zip
sudo mv chromedriver /usr/local/bin/chromedriver
sudo chown root:root /usr/local/bin/chromedriver
sudo chmod 755 /usr/local/bin/chromedriver # Setting permissions
- name: Set up Python ${{ env.min-python-version }}
uses: actions/setup-python@v2
with: