Update pull_request_template.md #21
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: Compile | |
on: | |
push: | |
branches: main | |
pull_request: | |
branches: main | |
env: | |
SYSTEM_SNOWFLAKE_USER: ${{ secrets.SYSTEM_SNOWFLAKE_USER }} | |
SYSTEM_SNOWFLAKE_PASSWORD: ${{ secrets.SYSTEM_SNOWFLAKE_PASSWORD }} | |
SYSTEM_SNOWFLAKE_ROLE: ${{ secrets.SYSTEM_SNOWFLAKE_ROLE }} | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: '3.11' | |
- name: Check out current branch | |
uses: actions/checkout@v3 | |
- name: Set up dependencies | |
run: | | |
pip install pip==23.1.2 | |
pip install pip-tools==6.13.0 | |
pip install -r requirements.txt | |
- name: Compile | |
run: | | |
dbt deps | |
dbt compile |