Skip to content

Commit

Permalink
try
Browse files Browse the repository at this point in the history
  • Loading branch information
stiebels committed Jul 26, 2023
1 parent dde5816 commit 04c7518
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ jobs:
- name: Build Class Diagram
id: build_class_diagram
run: |
export INPUT_PUML_OUTPUT_PATH="test_diagram_puml"
export INPUT_PATH='tests/test_module'
export INPUT_MODULE='tests.test_module'
export INPUT_PNG_OUTPUT_PATH='test_diagram.png'
if test -f ${INPUT_PUML_OUTPUT_PATH}; then
py2puml ${INPUT_PATH} ${INPUT_MODULE} > ${INPUT_PUML_OUTPUT_PATH}_staging
update_class_diagram=$(
Expand Down
9 changes: 0 additions & 9 deletions test_diagram.puml

This file was deleted.

6 changes: 6 additions & 0 deletions tests/test_module/some_class.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
class SomeClass:
def __init__(self, name: str):
self.name = name

def get_name(self) -> str:
return self.name

0 comments on commit 04c7518

Please sign in to comment.