Skip to content

adding dbt profile

adding dbt profile #2

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: Test App
on:
push:
branches: [ "orchestration" ]
pull_request:
branches: [ "orchestration" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.11
uses: actions/setup-python@v3
with:
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Create dbt profile
with:
PROFILES_YML: ${{ secrets.PROFILES_YML }}
run: |

Check failure on line 33 in .github/workflows/python-app.yml

View workflow run for this annotation

GitHub Actions / Test App

Invalid workflow file

The workflow is not valid. .github/workflows/python-app.yml (Line: 33, Col: 7): Unexpected value 'run' .github/workflows/python-app.yml (Line: 30, Col: 7): Required property is missing: uses
mkdir -p ~/.dbt
echo $DBT_CREDENTIALS > ~/.dbt/profiles.yml
- name: Execute dbt debug
run: |
dbt debug