Added databricks labs ucx alias
command to create a view of tables from one schema/catalog in another schema/catalog
#885
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: acceptance | |
on: | |
pull_request: | |
types: [opened, synchronize] | |
permissions: | |
id-token: write | |
contents: read | |
pull-requests: write | |
jobs: | |
integration: | |
if: github.event_name == 'pull_request' | |
environment: account-admin | |
runs-on: larger | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v2.5.0 | |
- name: Unshallow | |
run: git fetch --prune --unshallow | |
- name: Install Python | |
uses: actions/setup-python@v4 | |
with: | |
cache: 'pip' | |
cache-dependency-path: '**/pyproject.toml' | |
python-version: '3.10' | |
- name: Install hatch | |
run: pip install hatch==1.7.0 | |
- uses: azure/login@v1 | |
with: | |
client-id: ${{ secrets.ARM_CLIENT_ID }} | |
tenant-id: ${{ secrets.ARM_TENANT_ID }} | |
subscription-id: ${{ secrets.ARM_SUBSCRIPTION_ID }} | |
- name: Run integration tests | |
run: hatch run integration | |
env: | |
CLOUD_ENV: "${{ vars.CLOUD_ENV }}" | |
DATABRICKS_HOST: "${{ secrets.DATABRICKS_HOST }}" | |
DATABRICKS_ACCOUNT_ID: "${{ secrets.DATABRICKS_ACCOUNT_ID }}" | |
DATABRICKS_CLUSTER_ID: "${{ vars.DATABRICKS_CLUSTER_ID }}" | |
TEST_DEFAULT_CLUSTER_ID: "${{ vars.TEST_DEFAULT_CLUSTER_ID }}" | |
TEST_DEFAULT_WAREHOUSE_ID: "${{ vars.TEST_DEFAULT_WAREHOUSE_ID }}" | |
TEST_INSTANCE_POOL_ID: "${{ vars.TEST_INSTANCE_POOL_ID }}" | |
TEST_LEGACY_TABLE_ACL_CLUSTER_ID: "${{ vars.TEST_LEGACY_TABLE_ACL_CLUSTER_ID }}" |