Skip to content

updating conftest

updating conftest #16

Workflow file for this run

name: LocalStack Test
on: [ push, pull_request ]
jobs:
localstack-action-test:
name: 'Test LocalStack GitHub Action'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Start Snowflake emulator
run: |
docker pull localstack/snowflake:latest &
python -m pip install --upgrade pip
python -m pip install localstack
IMAGE_NAME=localstack/snowflake localstack start -d
echo "Waiting for LocalStack startup..."
localstack wait -t 15
echo "Startup complete"
env:
LOCALSTACK_AUTH_TOKEN: ${{ secrets.LOCALSTACK_AUTH_TOKEN }}
- name: test snowflake
run: |
python -m pip install pytest pytest-spark pypandoc
python -m pip install pyspark[connect]==3.5.1
python -m pip install .[dev]
pytest tests/test_snowflake.py