don't use the debian repositories
This commit is contained in:
parent
035db22d63
commit
eb580220a1
@ -9,7 +9,7 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
python-version: [ "3.12" ]
|
python-version: [ "3.12" ]
|
||||||
env:
|
env:
|
||||||
EDGEDRIVER_VERSION: 126.0.2592.102
|
CHROMEDRIVER_VERSION: 114.0.5735.90
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Set up Python ${{ matrix.python-version }}
|
- name: Set up Python ${{ matrix.python-version }}
|
||||||
@ -23,17 +23,17 @@ jobs:
|
|||||||
python -m pip install -r requirements.txt
|
python -m pip install -r requirements.txt
|
||||||
mkdir drivers
|
mkdir drivers
|
||||||
|
|
||||||
- name: Prep the Debian repositories
|
|
||||||
run: |
|
|
||||||
apt update -y
|
|
||||||
apt upgrade -y
|
|
||||||
|
|
||||||
- name: Install Chrome and Chromedriver for Linux
|
- name: Install Chrome and Chromedriver for Linux
|
||||||
if: runner.os == 'Linux'
|
if: runner.os == 'Linux'
|
||||||
run: |
|
run: |
|
||||||
apt install -y chromium-browser chromium-driver
|
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
|
||||||
chromium-browser --version
|
dpkg -i google-chrome-stable_current_amd64.deb
|
||||||
chromium-driver --version
|
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
|
- name: Run the pytests
|
||||||
run: pytest -c pytest.ini -m chrome
|
run: pytest -c pytest.ini -m chrome
|
||||||
|
@ -27,8 +27,6 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
apt update -y
|
apt update -y
|
||||||
apt upgrade -y
|
apt upgrade -y
|
||||||
apt install -y chromium-browser
|
|
||||||
apt install -y firefox
|
|
||||||
|
|
||||||
- name: Install Edge and EdgeDriver for Linux
|
- name: Install Edge and EdgeDriver for Linux
|
||||||
if: runner.os == 'Linux'
|
if: runner.os == 'Linux'
|
||||||
|
Loading…
Reference in New Issue
Block a user