Skip to content

🕷️ The BEST Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev

test: skip checking camoufox browser version if he cache hits

Karim shoair381c4eab7f13
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 368c9a8..0360904 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -108,7 +108,11 @@ jobs:
- name: Install Camoufox browser
run: |
echo "Cache hit: ${{ steps.camoufox-cache.outputs.cache-hit }}"
- python3 -m camoufox fetch --browserforge
+ 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