Skip to content

Collection options is a dataclass and not a dict anymore (#269) #99

Collection options is a dataclass and not a dict anymore (#269)

Collection options is a dataclass and not a dict anymore (#269) #99

name: Run Pytest on Idiomatic
on:
push:
branches:
- pymongo-convergence-m1
pull_request:
branches:
- pymongo-convergence-m1
jobs:
test:
env:
ASTRA_DB_API_ENDPOINT: ${{ secrets.ASTRA_DB_API_ENDPOINT }}
ASTRA_DB_APPLICATION_TOKEN: ${{ secrets.ASTRA_DB_APPLICATION_TOKEN }}
ASTRA_DB_ID: ${{ secrets.ASTRA_DB_ID }}
TEST_SKIP_COLLECTION_DELETE: ${{ secrets.TEST_SKIP_COLLECTION_DELETE }}
ASTRA_DB_SECONDARY_KEYSPACE: ${{ secrets.ASTRA_DB_SECONDARY_KEYSPACE }}
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.11
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry install
- name: Run pytest
run: |
poetry run pytest tests/idiomatic