Skip to content

Commit 8da3ffd

Browse files
algochoialdur
authored andcommitted
Add requirement to fetch behave source code and update readme (#262)
* Add requirement to fetch behave source code and update readme * Simplify tests section * Change dockerfile to fetch requirements.txt
1 parent 2a8e4b6 commit 8da3ffd

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ WORKDIR $HOME/py-algorand-sdk
77

88
# SDK dependencies, and source version of behave with tag expression support
99
RUN pip install . -q \
10-
&& pip install git+https://github.com/behave/behave -q
10+
&& pip install -r requirements.txt -q
1111

1212
# Run integration tests
1313
CMD ["/bin/bash", "-c", "make unit && make integration"]

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,14 @@ Alternatively, choose a [distribution file](https://pypi.org/project/py-algorand
1414

1515
## SDK Development
1616

17-
Run tests with `make docker-test`
17+
Install dependencies
18+
* `pip install -r requirements.txt`
19+
20+
Run tests
21+
* `make docker-test`
22+
23+
Format code:
24+
* `black .`
1825

1926
## Quick start
2027

requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
.
2-
black==21.9b0
2+
black==21.9b0
3+
git+https://github.com/behave/behave

0 commit comments

Comments
 (0)