Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mikedev committed Nov 15, 2022
1 parent 33242aa commit 34dcdc8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@ jobs:
pip install build
python -m pip install .[dev]
- name: Test model/ folder
run: python -m pytest ddpm
run: |
mv ddpm model
python -m pytest
mv model ddpm
- name: Build package
run: python -m build
- name: Publish package
Expand Down
2 changes: 1 addition & 1 deletion model/test_unet.py → tests/test_unet.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import torch
from . import UNetTimeStep
from model import UNetTimeStep


def test_unet_same_width_height():
Expand Down

0 comments on commit 34dcdc8

Please sign in to comment.