remove references to test_requirements (#7351)

This commit is contained in:
Stefano Fiorucci 2024-03-13 17:29:32 +01:00 committed by GitHub
parent de4fca4526
commit 4b814b2b28
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 8 deletions

View File

@ -19,7 +19,6 @@ on:
- "haystack/**/*.py"
- "haystack/core/pipeline/predefined/*"
- "test/**/*.py"
- "test/test_requirements.txt"
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
@ -103,7 +102,7 @@ jobs:
- uses: actions/cache@v4
with:
path: ${{ env.pythonLocation }}
key: pip-${{ runner.os }}-${{ github.run_id }}-${{ hashFiles('pyproject.toml', 'test/test_requirements.txt') }}
key: pip-${{ runner.os }}-${{ github.run_id }}-${{ hashFiles('pyproject.toml') }}
unit-tests:
name: Unit / ${{ matrix.os }}
@ -127,7 +126,7 @@ jobs:
uses: actions/cache/restore@v4
with:
path: ${{ env.pythonLocation }}
key: pip-${{ runner.os }}-${{ github.run_id }}-${{ hashFiles('pyproject.toml', 'test/test_requirements.txt') }}
key: pip-${{ runner.os }}-${{ github.run_id }}-${{ hashFiles('pyproject.toml') }}
- name: Run
run: hatch run test:unit
@ -196,7 +195,7 @@ jobs:
uses: actions/cache/restore@v4
with:
path: ${{ env.pythonLocation }}
key: pip-${{ runner.os }}-${{ github.run_id }}-${{ hashFiles('pyproject.toml', 'test/test_requirements.txt') }}
key: pip-${{ runner.os }}-${{ github.run_id }}-${{ hashFiles('pyproject.toml') }}
- name: Run
run: hatch run test:integration
@ -254,7 +253,7 @@ jobs:
uses: actions/cache/restore@v4
with:
path: ${{ env.pythonLocation }}
key: pip-${{ runner.os }}-${{ github.run_id }}-${{ hashFiles('pyproject.toml', 'test/test_requirements.txt') }}
key: pip-${{ runner.os }}-${{ github.run_id }}-${{ hashFiles('pyproject.toml') }}
- name: Run
run: hatch run test:integration-mac
@ -305,7 +304,7 @@ jobs:
uses: actions/cache/restore@v4
with:
path: ${{ env.pythonLocation }}
key: pip-${{ runner.os }}-${{ github.run_id }}-${{ hashFiles('pyproject.toml', 'test/test_requirements.txt') }}
key: pip-${{ runner.os }}-${{ github.run_id }}-${{ hashFiles('pyproject.toml') }}
- name: Run
run: hatch run test:integration-windows

View File

@ -15,7 +15,6 @@ on:
- "haystack/**/*.py"
- "haystack/core/pipeline/predefined/*"
- "test/**/*.py"
- "test/test_requirements.txt"
jobs:
check_if_changed:
@ -37,7 +36,6 @@ jobs:
- haystack/**/*.py
- "haystack/templates/predefined/*"
- test/**/*.py
- test/test_requirements.txt
catch-all:
# Don't run this check if the PR contains both code and non-code changes (e.g. release notes)