Skip to content

Commit

Permalink
Fix docs generation and test command
Browse files Browse the repository at this point in the history
Signed-off-by: Piotr <piotrzan@gmail.com>
  • Loading branch information
Piotr1215 committed Feb 10, 2024
1 parent a7fd9a0 commit 007306b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ jobs:
run: pipx install hatch==1.7.0

- name: Build Documentation
run: hatch run docs:pdoc3 -d google killercoda_cli -o docs
run: hatch run docs:pdoc -d google killercoda_cli -o docs

- name: Setup Pages
uses: actions/configure-pages@v4
Expand Down
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ dependencies = [
"pytest",
]

[tool.hatch.envs.test]
type = "virtual"
path = ".venv-test"

[tool.hatch.envs.docs]
type = "virtual"
path = ".venv-docs"
Expand Down

0 comments on commit 007306b

Please sign in to comment.