Skip to content

Prepare release environment #1

Prepare release environment

Prepare release environment #1

Workflow file for this run

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: runtime
runs-on: larger # needs to be explicitly enabled per repo
steps:
- name: Checkout Code
uses: actions/[email protected]
- 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 }}
allow-no-subscriptions: true
- name: Run integration tests
run: hatch run integration
env:
CLOUD_ENV: azure
DATABRICKS_HOST: "${{ vars.DATABRICKS_HOST }}"
DATABRICKS_CLUSTER_ID: "${{ vars.DATABRICKS_CLUSTER_ID }}"
DATABRICKS_WAREHOUSE_ID: "${{ vars.DATABRICKS_WAREHOUSE_ID }}"