Skip to content

Update integration-tests-azure.yml #224

Update integration-tests-azure.yml

Update integration-tests-azure.yml #224

---

Check failure on line 1 in .github/workflows/integration-tests-azure.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/integration-tests-azure.yml

Invalid workflow file

No steps defined in `steps` and no workflow called in `uses` for the following jobs: build-me
name: Integration tests on Azure
on: # yamllint disable-line rule:truthy
push:
branches:
- master
- v*
pull_request:
branches:
- master
jobs:
build-me:
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
deployments: read
packages: none
pull-requests: write
security-events: write
integration-tests-azure:
name: Integration tests on Azure
strategy:
matrix:
python_version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
msodbc_version: ["17", "18"]
runs-on: ubuntu-latest
container:
image: ghcr.io/microsoft/dbt-fabric:CI-${{ matrix.python_version }}-msodbc${{ matrix.msodbc_version }}
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: pip install -r dev_requirements.txt
- name: Run functional tests
env:
DBT_SYNAPSE_SERVER: ${{ secrets.DBT_SYNAPSE_SERVER }}
DBT_SYNAPSE_DB: ${{ secrets.DBT_SYNAPSE_DB }}
AZURE_CLIENT_ID: ${{ secrets.DBT_AZURE_SP_NAME }}
AZURE_CLIENT_SECRET: ${{ secrets.DBT_AZURE_SP_SECRET }}
AZURE_TENANT_ID: ${{ secrets.DBT_AZURE_TENANT }}
DBT_TEST_USER_1: DBT_TEST_USER_1
DBT_TEST_USER_2: DBT_TEST_USER_2
DBT_TEST_USER_3: DBT_TEST_USER_3
DBT_TEST_AAD_PRINCIPAL_1: DBT_TEST_AAD_PRINCIPAL_1
DBT_TEST_AAD_PRINCIPAL_2: DBT_TEST_AAD_PRINCIPAL_2
SYNAPSE_TEST_DRIVER: 'ODBC Driver ${{ matrix.msodbc_version }} for SQL Server'
run: pytest -ra -v tests/functional --profile "ci_azure_auto"