Skip to content

add lazy frames

add lazy frames #22

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: Run tests
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
services:
# Label used to access the service container
mssql:
image: mcr.microsoft.com/mssql/server:2022-latest
ports:
- 1433:1433
env:
ACCEPT_EULA: 'Y'
SA_PASSWORD: yourStrong_Password
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install drivers
run: |
sudo rm -rf /var/lib/dpkg/info/*.*
sudo apt-get autoremove
sudo apt-get autoclean
/bin/bash .devcontainer/setup_drivers.sh
/bin/bash .devcontainer/setup_database.sh
env:
TARGET_DB__HOST: localhost
TARGET_DB__PORT: 1433
TARGET_DB__DATABASE: dagster_bcp_test
TARGET_DB__USERNAME: SA
TARGET_DB__PASSWORD: yourStrong_Password
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install flake8 pytest
python -m pip install ".[dev]"
- name: Test with pytest
run: |
pytest
env:
TARGET_DB__HOST: localhost
TARGET_DB__PORT: 1433
TARGET_DB__DATABASE: dagster_bcp_test
TARGET_DB__USERNAME: SA
TARGET_DB__PASSWORD: yourStrong_Password