From bb0e6eb8729991e815f38e78327c79fc516c6b88 Mon Sep 17 00:00:00 2001 From: Antonis Christofides Date: Fri, 12 Jan 2024 13:20:46 +0200 Subject: [PATCH] Fix chromedriver in GitHub action --- .github/workflows/run-tests-automatically.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/run-tests-automatically.yml b/.github/workflows/run-tests-automatically.yml index b4ac2519..4df92f6c 100644 --- a/.github/workflows/run-tests-automatically.yml +++ b/.github/workflows/run-tests-automatically.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-22.04 strategy: matrix: - python-version: ["3.9", "3.10"] + python-version: ["3.9", "3.10", "3.11"] steps: - uses: actions/checkout@v3 @@ -26,6 +26,8 @@ jobs: node-version: '10' - name: Set up Chrome uses: browser-actions/setup-chrome@latest + - name: Set up chromedriver + uses: nanasess/setup-chromedriver@v2 - name: Install Dependencies run: | echo "deb https://packagecloud.io/timescale/timescaledb/ubuntu/ $(lsb_release -c -s) main" | sudo tee /etc/apt/sources.list.d/timescaledb.list @@ -40,8 +42,6 @@ jobs: python -m pip install --upgrade pip 'setuptools<58' # See https://stackoverflow.com/questions/69123406 CPLUS_INCLUDE_PATH=/usr/include/gdal C_INCLUDE_PATH=/usr/include/gdal pip install 'gdal==3.4.1' pip install 'psycopg2>=2.8,<2.9' codecov coverage isort flake8 'black>=22.8,<23' - wget https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/`google-chrome --version|awk '{ print $3 }'`/linux64/chromedriver-linux64.zip - sudo unzip chromedriver-linux64.zip -d /usr/local/bin pip install -r requirements.txt pip install -r requirements-dev.txt npm install