From d45dea56c5030366115b4ac29e23e3ccd88e2a50 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Thu, 6 Feb 2025 14:23:38 +0100 Subject: [fix] selenium: binary is not a Firefox executable Since Ubuntu installs firefox frrom snap, we can't use any longer ``Browser('firefox')``. [1] https://github.com/searxng/searxng/pull/3663#issuecomment-2255963036 [2] https://splinter.readthedocs.io/en/latest/drivers/firefox.html#custom-binary-path Suggested-by: @allendema Signed-off-by: Markus Heiser --- .github/workflows/integration.yml | 15 --------------- 1 file changed, 15 deletions(-) (limited to '.github') diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index acc9b0255..bcf539581 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -23,26 +23,11 @@ jobs: - name: Install Ubuntu packages run: | sudo ./utils/searxng.sh install packages - sudo apt install firefox - name: Set up Python uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} architecture: 'x64' - - name: Cache Python dependencies - id: cache-python - uses: actions/cache@v4 - with: - path: | - ./local - ./.nvm - ./node_modules - key: python-${{ matrix.os }}-${{ matrix.python-version }}-${{ hashFiles('requirements*.txt', 'setup.py') }} - - name: Install Python dependencies - if: steps.cache-python.outputs.cache-hit != 'true' - run: | - make V=1 install - make V=1 gecko.driver - name: Run tests run: make V=1 ci.test -- cgit v1.2.3