don't use the debian repositories
This commit is contained in:
parent
035db22d63
commit
eb580220a1
@ -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
|
||||
|
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user