Skip to content
This repository was archived by the owner on Mar 11, 2022. It is now read-only.

Commit 5923714

Browse files
committed
Merge remote-tracking branch 'origin/feature/python-support' into feature/python-support
2 parents 21ef7dd + b2ec5e7 commit 5923714

4 files changed

Lines changed: 20 additions & 8 deletions

File tree

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
language: python
22
python:
3-
- "2.7"
4-
- "3.6"
3+
- "3.8"
54
install:
6-
- pip install -r requirements.txt
5+
- pip install -r requirements.txt
6+
script: pytest
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# content of test_sample.py
2+
def inc(x):
3+
return x + 1
4+
5+
6+
def test_answer():
7+
assert inc(3) == 4

requirements.txt

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
dataclasses>=0.7
2-
grpcio>=1.28.1
3-
grpcio-tools>=1.28.1
4-
protobuf>=3.11.3
5-
six>=1.14.0
1+
attrs==19.3.0
2+
grpcio==1.28.1
3+
grpcio-tools==1.28.1
4+
protobuf==3.11.3
5+
pytest==5.4.1
6+
six==1.14.0

setup.cfg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[aliases]
2+
test=pytest
3+
[tool:pytest]
4+
python_files = cloudstate/tests/test_*.py

0 commit comments

Comments
 (0)