Skip to content

Future proof the endpoint url params #78

Future proof the endpoint url params

Future proof the endpoint url params #78

Workflow file for this run

name: Run Pytest
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test:
env:
ASTRA_DB_API_ENDPOINT: ${{ secrets.ASTRA_DB_API_ENDPOINT }}
ASTRA_DB_APPLICATION_TOKEN: ${{ secrets.ASTRA_DB_APPLICATION_TOKEN }}
ASTRA_DB_REGION: ${{ secrets.ASTRA_DB_REGION }}
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 pytest
pip install -r requirements.txt
- name: Run pytest
run: |
PYTHONPATH=. pytest -s