Skip to content

Commit

Permalink
add workflow test script for code quality
Browse files Browse the repository at this point in the history
  • Loading branch information
mikealfare committed Dec 7, 2024
1 parent a3bf5b8 commit 68c8b57
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/_code-quality.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: "Code quality"

on:
pull_request:
workflow_call:
inputs:
branch:
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ dependencies = [
setup = "pre-commit install"
code-quality = "pre-commit run --all-files"
unit-tests = "python -m pytest {args:tests/unit}"
test-publish = "gh workflow run publish.yml --ref $(git rev-parse --abbrev-ref HEAD) -f package=dbt-adapters -f branch=$(git rev-parse --abbrev-ref HEAD) -f deploy-to=test -f pypi-internal=false -f pypi-public=true"
workflow-code-quality = "gh workflow run _code-quality.yml --ref $(git rev-parse --abbrev-ref HEAD) -f branch=$(git rev-parse --abbrev-ref HEAD) -f branch=$(git rev-parse --abbrev-ref HEAD)"
workflow-publish = "gh workflow run publish.yml --ref $(git rev-parse --abbrev-ref HEAD) -f package=dbt-adapters -f branch=$(git rev-parse --abbrev-ref HEAD) -f deploy-to=test -f pypi-internal=false -f pypi-public=true"

[tool.hatch.envs.build]
detached = true
Expand Down

0 comments on commit 68c8b57

Please sign in to comment.