diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 797ec72ba..e285d65e4 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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 diff --git a/.github/workflows/tests_skipper.yml b/.github/workflows/tests_skipper.yml index a81f08fce..d2d6f5fb0 100644 --- a/.github/workflows/tests_skipper.yml +++ b/.github/workflows/tests_skipper.yml @@ -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)