mirror of
https://github.com/deepset-ai/haystack.git
synced 2026-02-07 07:22:03 +00:00
ci: stop caching Hatch python environment on Ubuntu (#9249)
* try setting hatch variables * debug steps * stop caching on ubuntu * remove debug steps * cache should work for mac and wind * bring back cache and log verbose; temp skip win and mac * try * stop caching Hatch python environment for Ubuntu * remove trigger
This commit is contained in:
parent
f478d9145f
commit
e5dc4ef94d
13
.github/workflows/tests.yml
vendored
13
.github/workflows/tests.yml
vendored
@ -163,6 +163,7 @@ jobs:
|
||||
|
||||
- uses: actions/cache/save@v4
|
||||
id: cache
|
||||
if: matrix.os != 'ubuntu-latest'
|
||||
with:
|
||||
path: ${{ steps.hatch.outputs.env }}
|
||||
key: ${{ runner.os }}-${{ github.sha }}
|
||||
@ -238,12 +239,6 @@ jobs:
|
||||
pip install hatch==${{ env.HATCH_VERSION }}
|
||||
echo "env=$(hatch env find test)" >> "$GITHUB_OUTPUT"
|
||||
|
||||
- uses: actions/cache/restore@v4
|
||||
id: cache
|
||||
with:
|
||||
path: ${{ steps.hatch.outputs.env }}
|
||||
key: ${{ runner.os }}-${{ github.sha }}
|
||||
|
||||
- name: Mypy
|
||||
if: steps.files.outputs.python_any_changed == 'true' || steps.files.outputs.pyproject_any_changed == 'true'
|
||||
run: |
|
||||
@ -310,12 +305,6 @@ jobs:
|
||||
pip install hatch==${{ env.HATCH_VERSION }}
|
||||
echo "env=$(hatch env find test)" >> "$GITHUB_OUTPUT"
|
||||
|
||||
- uses: actions/cache/restore@v4
|
||||
id: cache
|
||||
with:
|
||||
path: ${{ steps.hatch.outputs.env }}
|
||||
key: ${{ runner.os }}-${{ github.sha }}
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
sudo apt update
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user