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: Cache keys adjustment for tests

Karim shoair08cae510a6fe
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 317cc8d..eaf3144 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -44,7 +44,6 @@ jobs:
cache: 'pip'
cache-dependency-path: |
pyproject.toml
- requirements*.txt
tox.ini
# Install browsers ONCE at the workflow level
@@ -64,8 +63,8 @@ jobs:
uses: actions/cache@v4
with:
path: .tox
- # Include python version and os in cache key
- key: tox-v1-${{ runner.os }}-py${{ matrix.python-version }}-${{ hashFiles('tox.ini', 'pyproject.toml', 'requirements*.txt') }}
+ # Include python version and os in the cache key
+ key: tox-v1-${{ runner.os }}-py${{ matrix.python-version }}-${{ hashFiles('tox.ini', 'pyproject.toml') }}
restore-keys: |
tox-v1-${{ runner.os }}-py${{ matrix.python-version }}-
tox-v1-${{ runner.os }}-