Skip to content

Commit

Permalink
remove references to test_requirements (#7351)
Browse files Browse the repository at this point in the history
  • Loading branch information
anakin87 committed Mar 13, 2024
1 parent de4fca4 commit 4b814b2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/tests_skipper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ on:
- "haystack/**/*.py"
- "haystack/core/pipeline/predefined/*"
- "test/**/*.py"
- "test/test_requirements.txt"

jobs:
check_if_changed:
Expand All @@ -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)
Expand Down

0 comments on commit 4b814b2

Please sign in to comment.