Skip to content

Commit

Permalink
Add requirement to fetch behave source code and update readme (#262)
Browse files Browse the repository at this point in the history
* Add requirement to fetch behave source code and update readme

* Simplify tests section

* Change dockerfile to fetch requirements.txt
  • Loading branch information
algochoi authored Dec 8, 2021
1 parent 5ca32ce commit fe5af4c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ WORKDIR $HOME/py-algorand-sdk

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

# Run integration tests
CMD ["/bin/bash", "-c", "make unit && make integration"]
Expand Down
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,14 @@ Alternatively, choose a [distribution file](https://pypi.org/project/py-algorand

## SDK Development

Run tests with `make docker-test`
Install dependencies
* `pip install -r requirements.txt`

Run tests
* `make docker-test`

Format code:
* `black .`

## Quick start

Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.
black==21.9b0
black==21.9b0
git+https://github.com/behave/behave

0 comments on commit fe5af4c

Please sign in to comment.