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

ops: Correcting cache paths

Karim shoairee1a0828a219
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 4b35e88..6ec968d 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -31,8 +31,7 @@ jobs:
uses: actions/cache@v4
with:
path: |
- ~/.cache/ms-playwright
- ~/.camoufox
+ ~/Library/Caches/camoufox
~/Library/Caches/ms-playwright
key: browsers-${{ runner.os }}-${{ hashFiles('**/requirements*.txt', '**/pyproject.toml') }}-playwright-1.52.0-camoufox-latest
restore-keys: |
@@ -80,8 +79,8 @@ jobs:
# Verify browsers are installed
- name: Verify browser installation
run: |
- ls -la ~/.cache/ms-playwright/ || true
- ls -la ~/.camoufox/ || true
+ ls -la ~/Library/Caches/ms-playwright/ || true
+ ls -la ~/Library/Caches/camoufox/ || true
echo "Browser setup completed successfully!"
# Step 2: Run tests using cached browsers
@@ -112,8 +111,7 @@ jobs:
uses: actions/cache/restore@v4
with:
path: |
- ~/.cache/ms-playwright
- ~/.camoufox
+ ~/Library/Caches/camoufox
~/Library/Caches/ms-playwright
key: browsers-${{ runner.os }}-${{ hashFiles('**/requirements*.txt', '**/pyproject.toml') }}-playwright-1.52.0-camoufox-latest
restore-keys: |
@@ -138,8 +136,8 @@ jobs:
- name: Verify browsers are available
run: |
- ls -la ~/.cache/ms-playwright/ || echo "Playwright cache not found"
- ls -la ~/.camoufox/ || echo "Camoufox cache not found"
+ ls -la ~/Library/Caches/ms-playwright/ || echo "Playwright cache not found"
+ ls -la ~/Library/Caches/camoufox/ || echo "Camoufox cache not found"
- name: Run tests
env: