Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/workflows/python-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
- name: Create dummy poly directory for tests
run: mkdir -p polyapi/poly

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r dev_requirements.txt

- name: Run tests
run: pytest tests/
3 changes: 3 additions & 0 deletions dev_requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
-r requirements.txt
mock==5.2.0
pytest
6 changes: 3 additions & 3 deletions tests/test_deployables.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,11 @@ def foobar(foo: str, bar: Dict[str, str]) -> int:
"""A function that does something really import.

Args:
foo (str):
bar (Dict[str, str]):
foo (str):
bar (Dict[str, str]):

Returns:
int:
int:
"""
print("Okay then!")
return 7
Expand Down