Skip to content

Add code tests to CI, run CI weekly, add windows & macos platforms, test all supported python versions #1

Add code tests to CI, run CI weekly, add windows & macos platforms, test all supported python versions

Add code tests to CI, run CI weekly, add windows & macos platforms, test all supported python versions #1

Workflow file for this run

name: windows-latest with shell bash
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
code_checks:
runs-on: windows-latest
timeout-minutes: 5
steps:
- name: Check out code repository
uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Run connection
env:
DATABRICKS_HOST: ${{ secrets.DATABRICKS_HOST }}
DATABRICKS_HTTP_PATH: ${{ secrets.DATABRICKS_HTTP_PATH }}
DATABRICKS_CLIENT_ID: ${{ secrets.DATABRICKS_CLIENT_ID }}
DATABRICKS_CLIENT_SECRET: ${{ secrets.DATABRICKS_CLIENT_SECRET }}
#DATABRICKS_TOKEN: ${{ secrets.DATABRICKS_TOKEN }}
run: |
pip install databricks-sql-connector databricks-sdk
python db_test.py