don't use the debian repositories
Some checks failed
ChromeTests / build (3.12) (push) Failing after 18s
EdgeTests / build (3.12) (push) Successful in 1m3s
Pylint / build (3.12) (push) Successful in 13s

This commit is contained in:
Greg Gauthier 2024-07-23 21:04:51 +01:00
parent 035db22d63
commit eb580220a1
2 changed files with 9 additions and 11 deletions

View File

@ -9,7 +9,7 @@ jobs:
matrix:
python-version: [ "3.12" ]
env:
EDGEDRIVER_VERSION: 126.0.2592.102
CHROMEDRIVER_VERSION: 114.0.5735.90
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
@ -23,17 +23,17 @@ jobs:
python -m pip install -r requirements.txt
mkdir drivers
- name: Prep the Debian repositories
run: |
apt update -y
apt upgrade -y
- name: Install Chrome and Chromedriver for Linux
if: runner.os == 'Linux'
run: |
apt install -y chromium-browser chromium-driver
chromium-browser --version
chromium-driver --version
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
dpkg -i google-chrome-stable_current_amd64.deb
apt install -f
google-chrome --version
wget https://chromedriver.storage.googleapis.com/${CHROMEDRIVER_VERSION}/chromedriver_linux64.zip
unzip
mv chromedriver drivers
- name: Run the pytests
run: pytest -c pytest.ini -m chrome

View File

@ -27,8 +27,6 @@ jobs:
run: |
apt update -y
apt upgrade -y
apt install -y chromium-browser
apt install -y firefox
- name: Install Edge and EdgeDriver for Linux
if: runner.os == 'Linux'