Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Python setup to CI linting #380

Merged
merged 1 commit into from
Sep 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/ci_lint_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,14 @@ jobs:
with:
ref: ${{ github.event.pull_request.head.sha }} # Check out the code of the PR

- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.9.x"
architecture: "x64"

- name: Install Python packages
run: python -m pip install dbt-snowflake~=1.6.0 sqlfluff-templater-dbt~=2.0.2
run: python -m pip install dbt-snowflake~=1.6.0 sqlfluff-templater-dbt~=2.3.2

- name: Test database connection
run: dbt debug
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/main_lint_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,14 @@ jobs:
- name: Checkout branch
uses: actions/checkout@v3

- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.9.x"
architecture: "x64"

- name: Install Python packages
run: python -m pip install dbt-snowflake~=1.6.0 sqlfluff-templater-dbt~=2.0.2
run: python -m pip install dbt-snowflake~=1.6.0 sqlfluff-templater-dbt~=2.3.2

- name: Test database connection
run: dbt debug
Expand Down
Loading