Skip to content

Commit

Permalink
check profiles.yml in actions
Browse files Browse the repository at this point in the history
  • Loading branch information
zoltanctoth committed Jan 10, 2024
1 parent 69291e7 commit 483a27f
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,14 @@ jobs:

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
env:
PROFILES_YML: ${{ secrets.PROFILES_YML }}
run: |
mkdir -p ~/.dbt
echo $DBT_CREDENTIALS > ~/.dbt/profiles.yml
echo $PROFILES_YML > ~/.dbt/profiles.yml
echo "Number of lines in ~/.dbt/profiles.yml: $(wc -l ~/.dbt/profiles.yml)"
cat ~/.dbt/profiles.yml >&2
- name: Execute dbt debug
run: |
dbt debug
Expand Down

0 comments on commit 483a27f

Please sign in to comment.