Skip to content

try uv

try uv #206

name: Integration - cloud
on:
workflow_dispatch:
push:
branches:
- master
- thomasht86/fix-integrationtest-vectorsearch
schedule:
- cron: "0 11 * * 0"
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: false
jobs:
integration-cloud:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Define a cache dependency glob
uses: astral-sh/setup-uv@v3
with:
enable-cache: true
cache-dependency-glob: "pyproject.toml"
- name: Set up Python
run: uv python install 3.10
- name: Install the project
run: uv sync --extra dev
- name: Run integration tests
env:
VESPA_TEAM_API_KEY: ${{ secrets.VESPA_TEAM_API_KEY }}
run: |
uv run pytest tests/integration/test_integration_vespa_cloud.py -s -v
integration-cloud-token:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Define a cache dependency glob
uses: astral-sh/setup-uv@v3
with:
enable-cache: true
cache-dependency-glob: "pyproject.toml"
- name: Set up Python
run: uv python install 3.10
- name: Install the project
run: uv sync --extra dev
- name: Run integration tests
env:
VESPA_TEAM_API_KEY: ${{ secrets.VESPA_TEAM_API_KEY }}
VESPA_CLOUD_SECRET_TOKEN: ${{ secrets.VESPA_CLOUD_SECRET_TOKEN }}
VESPA_CLIENT_TOKEN_ID: ${{ secrets.VESPA_CLIENT_TOKEN_ID }}
run: |
uv run pytest tests/integration/test_integration_vespa_cloud_token.py -s -v
integration-cloud-vector-search:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Define a cache dependency glob
uses: astral-sh/setup-uv@v3
with:
enable-cache: true
cache-dependency-glob: "pyproject.toml"
- name: Set up Python
run: uv python install 3.10
- name: Install the project
run: uv sync --extra dev
- name: Run integration tests
env:
VESPA_TEAM_API_KEY: ${{ secrets.VESPA_TEAM_API_KEY }}
run: |
uv run pytest tests/integration/test_integration_vespa_cloud_vector_search.py -s -v