force an install of edge on the host
Some checks failed
Execute / build (3.12) (push) Failing after 13s
Pylint / build (3.12) (push) Successful in 11s

This commit is contained in:
Greg Gauthier 2024-07-23 18:57:27 +01:00
parent 28a47af395
commit d23296309d

View File

@ -23,13 +23,19 @@ jobs:
python -m pip install -r requirements.txt python -m pip install -r requirements.txt
mkdir drivers mkdir drivers
- name: EdgeDriver for Linux - name: Install Edge and EdgeDriver for Linux
if: runner.os == 'Linux' if: runner.os == 'Linux'
run: | run: |
wget https://msedgedriver.azureedge.net/${EDGEDRIVER_VERSION}/edgedriver_linux64.zip wget https://msedgedriver.azureedge.net/${EDGEDRIVER_VERSION}/edgedriver_linux64.zip
unzip edgedriver_linux64.zip unzip edgedriver_linux64.zip
mv msedgedriver drivers mv msedgedriver drivers
apt search msedge
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
install -o root -g root -m 644 microsoft.gpg /etc/apt/trusted.gpg.d/
sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/edge stable main" > /etc/apt/sources.list.d/microsoft-edge-dev.list'
sudo rm microsoft.gpg
apt update
apt install microsoft-edge-stable
- name: EdgeDriver for Windows - name: EdgeDriver for Windows
if: runner.os == 'Windows' if: runner.os == 'Windows'