Skip to content

Merge pull request #970 from vespa-engine/kkraune/more-cta #193

Merge pull request #970 from vespa-engine/kkraune/more-cta

Merge pull request #970 from vespa-engine/kkraune/more-cta #193

name: Integration - cloud
on:
workflow_dispatch:
push:
branches:
- master
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: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.9"
cache: "pip"
cache-dependency-path: |
pyproject.toml
- name: Install dependencies
run: |
pip install -e .[dev]
- name: Run integration tests
env:
VESPA_TEAM_API_KEY: ${{ secrets.VESPA_TEAM_API_KEY }}
run: |
pytest tests/integration/test_integration_vespa_cloud.py -s -v
integration-cloud-token:
runs-on: ubuntu-latest
needs: integration-cloud
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.9"
cache: "pip"
cache-dependency-path: |
pyproject.toml
- name: Install dependencies
run: |
pip install -e .[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: |
pytest tests/integration/test_integration_vespa_cloud_token.py -s -v
integration-cloud-vector-search:
runs-on: ubuntu-latest
needs: integration-cloud-token
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.9"
cache: "pip"
cache-dependency-path: |
pyproject.toml
- name: Install dependencies
run: |
pip install -e .[dev]
- name: Run integration tests
env:
VESPA_TEAM_API_KEY: ${{ secrets.VESPA_TEAM_API_KEY }}
run: |
pytest tests/integration/test_integration_vespa_cloud_vector_search.py -s -v