Skip to content

Commit

Permalink
install package in ci env
Browse files Browse the repository at this point in the history
  • Loading branch information
palp committed Jul 26, 2023
1 parent f811542 commit 7e86a69
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,7 @@ include = [
"./configs" = "sgm/configs"

[tool.hatch.envs.ci]
# Skip for now, since requirements.txt is used by scripts and includes the project
# This should be changed when dependencies are handled by Hatch
skip-install = true
skip-install = false

dependencies = [
"pytest"
Expand All @@ -45,6 +43,6 @@ dependencies = [
[tool.hatch.envs.ci.scripts]
test-inference = [
"pip install torch==2.0.1+cu118 torchvision==0.15.2+cu118 torchaudio==2.0.2+cu118 --index-url https://download.pytorch.org/whl/cu118",
"pip install -r requirements/pt2.txt",
"pip install -r requirements/pt2.txt",
"pytest -v tests/inference/test_inference.py {args}",
]

0 comments on commit 7e86a69

Please sign in to comment.