Skip to content

Commit

Permalink
Added torch dependency for running tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ancestor-mithril committed Sep 24, 2024
1 parent 446d7a8 commit cd41e2d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install flake8 pytest
python -m pip install flake8 pytest torch
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Lint with flake8
run: |
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ Issues = "https://github.com/ancestor-mithril/timed-decorator/issues"
[project.optional-dependencies]
dev = [
"pytest",
"flake8"
"flake8",
"torch"
]

0 comments on commit cd41e2d

Please sign in to comment.