add ci yml
This commit is contained in:
parent
dd9bb8a11b
commit
e424ed7581
1 changed files with 30 additions and 0 deletions
30
.azure-pipelines.yml
Normal file
30
.azure-pipelines.yml
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
trigger:
|
||||
- master # Runs on each commit to master
|
||||
|
||||
pr:
|
||||
- master # Runs on PRs targeting master
|
||||
|
||||
pool:
|
||||
vmImage: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- task: UsePythonVersion@0
|
||||
inputs:
|
||||
versionSpec: '3.10.12'
|
||||
|
||||
- script: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install -r requirements.txt
|
||||
displayName: 'Install dependencies'
|
||||
|
||||
- script: |
|
||||
dbt deps
|
||||
displayName: 'Install dbt packages'
|
||||
|
||||
- script: |
|
||||
dbt compile
|
||||
displayName: 'Run dbt compile'
|
||||
|
||||
- script: |
|
||||
dbt docs generate
|
||||
displayName: 'Generate dbt docs'
|
||||
Loading…
Add table
Add a link
Reference in a new issue