Skip to content

Commit

Permalink
Update: test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
geminixiang committed Sep 3, 2023
1 parent 5002cac commit 4c0fdda
Show file tree
Hide file tree
Showing 4 changed files with 89 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,4 @@ jobs:
run: |
source .venv/bin/activate
cd src
pytest ./
coverage report
pytest --cov=./
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
*.jpg
*.whl
*.pyc
.coverage
requirements.txt

**/__pycache__/
Expand Down
87 changes: 86 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ torchvision = {version = "^0.15.2+cu118", source = "pytorch"}
[tool.poetry.group.test.dependencies]
pytest = "^7.4.1"
syrupy = "^4.5.0"
pytest-cov = "^4.1.0"

[build-system]
requires = ["poetry-core"]
Expand Down

0 comments on commit 4c0fdda

Please sign in to comment.