Skip to content

Rework find_and_delete_entries (bugfix and better testing) #119

Rework find_and_delete_entries (bugfix and better testing)

Rework find_and_delete_entries (bugfix and better testing) #119

Workflow file for this run

name: Test with Astra DB
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test-astradb:
env:
ASTRA_DB_APPLICATION_TOKEN: ${{ secrets.ASTRA_DB_APPLICATION_TOKEN }}
ASTRA_DB_ID: ${{ secrets.ASTRA_DB_ID }}
ASTRA_DB_INIT_STRING: ${{ secrets.ASTRA_DB_INIT_STRING }}
ASTRA_DB_KEYSPACE: ${{ secrets.ASTRA_DB_KEYSPACE }}
ASTRA_DB_SECURE_BUNDLE_PATH: ${{ secrets.ASTRA_DB_SECURE_BUNDLE_PATH }}
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install poetry
poetry install
- name: Get SCB
run: |
poetry run python -c 'import os; from cassio.config.bundle_download import download_astra_bundle_url; download_astra_bundle_url(database_id=os.environ["ASTRA_DB_ID"], token=os.environ["ASTRA_DB_APPLICATION_TOKEN"], out_file_path=os.environ["ASTRA_DB_SECURE_BUNDLE_PATH"])'
- name: Integration tests
run: |
make test-astra-integration