Skip to content

Commit

Permalink
Update create-report.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
fabriziosalmi authored Sep 7, 2023
1 parent 2d2fdc9 commit 6abb2f4
Showing 1 changed file with 21 additions and 2 deletions.
23 changes: 21 additions & 2 deletions .github/workflows/create-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,28 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: '3.x'

- name: Install dependencies
run: pip install requests python-whois dnspython beautifulsoup4
run: |
pip install requests python-whois dnspython beautifulsoup4 selenium
- name: Setup Chrome
run: |
sudo apt-get update
sudo apt-get install -y unzip xvfb libxi6 libgconf-2-4
sudo apt-get install -y google-chrome-stable
- name: Install Chromedriver
run: |
CHROME_MAIN_VERSION=`google-chrome-stable --version | sed -E 's/(^Google Chrome |\.[0-9]+ )//g'`
DRIVER_VERSION=`curl -s "https://chromedriver.storage.googleapis.com/LATEST_RELEASE_$CHROME_MAIN_VERSION"`
curl -s -O "https://chromedriver.storage.googleapis.com/${DRIVER_VERSION}/chromedriver_linux64.zip"
unzip chromedriver_linux64.zip -d ~/
rm -f chromedriver_linux64.zip
sudo mv -f ~/chromedriver /usr/local/bin/chromedriver
sudo chown root:root /usr/local/bin/chromedriver
sudo chmod 0755 /usr/local/bin/chromedriver
- name: Run Website Tests
id: test
Expand Down

0 comments on commit 6abb2f4

Please sign in to comment.