Skip to content

Commit

Permalink
fix command
Browse files Browse the repository at this point in the history
  • Loading branch information
emmyoop committed Jan 25, 2024
1 parent 5908596 commit 06ff472
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
run: pip3 install hatch

- name: "Run Tests"
run: hatch run dev-env:pytest tests
run: hatch run dev-env:unit

- name: "Get current date"
if: always()
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,14 @@ exclude = [
packages = ["dbt_common"]

[tool.hatch.envs.dev-env.scripts]
all = ["pre-commit run --all-files"]
unit = "- python -m pytest --cov=dbt-common --cov-report=xml {args:tests/unit}"

[tool.hatch.envs.dev-env]
description = "Env for running development commands like pytest / pre-commit"
dependencies = [
"pytest~=7.3",
"pytest-xdist~=3.2",
"pytest-cov",
"httpx~=0.24",
"hypothesis~=6.87",
"pre-commit~=3.2",
Expand Down

0 comments on commit 06ff472

Please sign in to comment.