-
Notifications
You must be signed in to change notification settings - Fork 15
36 lines (34 loc) · 1.19 KB
/
integration.yml
File metadata and controls
36 lines (34 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Integration Tests
on:
push:
branches:
- main
paths-ignore:
- "**.MD"
- "**.md"
permissions:
contents: read
id-token: write
jobs:
run-e2e-tests:
runs-on:
group: databricks-protected-runner-group
labels: linux-ubuntu-latest
environment: azure-prod
env:
DATABRICKS_SERVER_HOSTNAME: ${{ secrets.DATABRICKS_HOST }}
DATABRICKS_HTTP_PATH: ${{ secrets.TEST_PECO_WAREHOUSE_HTTP_PATH }}
DATABRICKS_TOKEN: ${{ secrets.DATABRICKS_TOKEN }}
DATABRICKS_CATALOG: ${{ secrets.SQLALCHEMY_CATALOG }}
DATABRICKS_SCHEMA: ${{ secrets.SQLALCHEMY_SCHEMA }}
DATABRICKS_USER: ${{ secrets.TEST_PECO_SP_ID }}
steps:
- name: Check out repository
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- name: Setup Poetry
uses: ./.github/actions/setup-poetry
with:
python-version: "3.10"
install-args: "--all-extras"
- name: Run SQL Alchemy tests
run: poetry run python -m pytest tests/test_local