Skip to content

Commit

Permalink
Update cd-post-release-tests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Smartappli authored Jun 30, 2024
1 parent e8a90d6 commit 4b7b43b
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions .github/workflows/cd-post-release-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ jobs:
uses: actions/cache@v4
with:
path: ${{ steps.pip-cache.outputs.dir }}
key: ${{ runner.os }}-pip-py${{ matrix.python-version }}-${{ hashFiles('setup.cfg') }}
key: ${{ runner.os }}-uv-py${{ matrix.python-version }}-${{ hashFiles('setup.cfg') }}
restore-keys: |
${{ runner.os }}-pip-py${{ matrix.python-version }}-
${{ runner.os }}-uv-py${{ matrix.python-version }}-
- name: Install Syft
shell: bash
Expand Down Expand Up @@ -167,11 +167,12 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Upgrade pip and install uv
- name: Upgrade pip and dependencies
run: |
python -m pip install --upgrade pip
python -m pip install uv==0.2.17
uv --version
python -m uv pip install tox tox-uv==1.9.0 tox-current-env
- name: Get pip cache dir
id: pip-cache
Expand All @@ -183,9 +184,9 @@ jobs:
uses: actions/cache@v4
with:
path: ${{ steps.pip-cache.outputs.dir }}
key: ${{ runner.os }}-pip-py${{ matrix.python-version }}-${{ hashFiles('setup.cfg') }}
key: ${{ runner.os }}-uv-py${{ matrix.python-version }}-${{ hashFiles('setup.cfg') }}
restore-keys: |
${{ runner.os }}-pip-py${{ matrix.python-version }}-
${{ runner.os }}-uv-py${{ matrix.python-version }}-
- name: Install Syft
env:
Expand All @@ -196,11 +197,7 @@ jobs:
fi
if [[ ${{ inputs.release_platform }} == "REAL_PYPI" ]]; then
python -m uv pip install syft[data_science,dev]==${{ inputs.syft_version }}
fi
- name: Install tox
run: |
python -m uv pip install tox tox-uv==1.9.0 tox-current-env
fi
- name: Run unit tests
run: |
Expand Down

0 comments on commit 4b7b43b

Please sign in to comment.