From 5638755558353b13d663b5363ffaabdfbdd62792 Mon Sep 17 00:00:00 2001 From: Karim shoair Date: Fri, 26 Dec 2025 03:23:28 +0200 Subject: [PATCH] ops: update tests workflow accordingly --- .github/workflows/tests.yml | 30 +----------------------------- 1 file changed, 1 insertion(+), 29 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ecdfa89..9401174 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -58,7 +58,7 @@ jobs: - name: Install all browsers dependencies run: | python3 -m pip install --upgrade pip - python3 -m pip install playwright==1.56.0 patchright==1.56.0 camoufox>=0.4.11 + python3 -m pip install playwright==1.56.0 patchright==1.56.0 - name: Get Playwright version id: playwright-version @@ -90,34 +90,6 @@ jobs: fi python3 -m playwright install-deps chromium firefox - - name: Get Camoufox version - id: camoufox-version - run: | - CAMOUFOX_VERSION=$(python3 -c "import importlib.metadata; print(importlib.metadata.version('camoufox'))") - echo "version=$CAMOUFOX_VERSION" >> $GITHUB_OUTPUT - echo "Camoufox version: $CAMOUFOX_VERSION" - - - name: Retrieve Camoufox browser from cache if any - id: camoufox-cache - uses: actions/cache@v4 - with: - path: | - ~/.cache/camoufox - ~/Library/Caches/camoufox - key: ${{ runner.os }}-camoufox-${{ steps.camoufox-version.outputs.version }}-v1 - restore-keys: | - ${{ runner.os }}-camoufox-${{ steps.camoufox-version.outputs.version }}- - ${{ runner.os }}-camoufox- - - - name: Install Camoufox browser - run: | - echo "Cache hit: ${{ steps.camoufox-cache.outputs.cache-hit }}" - if [ "${{ steps.camoufox-cache.outputs.cache-hit }}" != "true" ]; then - python3 -m camoufox fetch --browserforge - else - echo "Skipping fetch - using cached Camoufox browser" - fi - # Cache tox environments - name: Cache tox environments uses: actions/cache@v4