-
Notifications
You must be signed in to change notification settings - Fork 143
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into stateproof
- Loading branch information
Showing
17 changed files
with
472 additions
and
598 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,45 @@ | ||
version: 2.1 | ||
|
||
workflows: | ||
version: 2 | ||
test: | ||
jobs: | ||
- unit-test | ||
- integration-test | ||
- docset | ||
|
||
jobs: | ||
build: | ||
machine: | ||
image: "ubuntu-2004:202104-01" | ||
unit-test: | ||
docker: | ||
- image: python:3.7.9 | ||
steps: | ||
- checkout | ||
- run: pip install -r requirements.txt | ||
- run: black --check . | ||
- run: python3 test_unit.py | ||
integration-test: | ||
machine: | ||
image: "ubuntu-2004:202104-01" | ||
steps: | ||
- checkout | ||
- run: make docker-test | ||
docset: | ||
docker: | ||
# NOTE: We might eventually need Docker authentication here. | ||
- image: cimg/python:3.9 | ||
steps: | ||
- checkout | ||
- run: | ||
# NOTE: We might add caching at `pip` level here. | ||
command: | | ||
pip3 install -r requirements.txt | ||
black --check . | ||
set -e | ||
python3 test_unit.py | ||
make docker-test | ||
pip install -r requirements.txt | ||
cd docs | ||
pip install -r requirements.txt | ||
pip install sphinx sphinx_rtd_theme doc2dash | ||
make html | ||
doc2dash --name py-algo-sdk --index-page index.html --online-redirect-url https://py-algorand-sdk.readthedocs.io/en/latest/ _build/html | ||
tar -czvf py-algo-sdk.docset.tar.gz py-algo-sdk.docset | ||
mv py-algo-sdk.docset.tar.gz /tmp | ||
- store_artifacts: | ||
path: /tmp/py-algo-sdk.docset.tar.gz | ||
destination: py-algo-sdk.docset.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -116,3 +116,9 @@ venv.bak/ | |
*.feature | ||
test/features | ||
test-harness | ||
|
||
# Build files | ||
py-algorand-sdk-* | ||
|
||
# Pycharm | ||
.idea |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
UNITS = "@unit.abijson or @unit.algod or @unit.applications or @unit.atomic_transaction_composer or @unit.dryrun or @unit.feetest or @unit.indexer or @unit.indexer.logs or @unit.offline or @unit.rekey or @unit.transactions.keyreg or @unit.responses or @unit.responses.231 or @unit.tealsign or @unit.transactions or @unit.transactions.payment" | ||
unit: | ||
behave --tags="@unit.offline or @unit.algod or @unit.indexer or @unit.rekey or @unit.tealsign or @unit.dryrun or @unit.applications or @unit.responses or @unit.transactions or @unit.transactions.keyreg or @unit.transactions.payment or @unit.responses.231 or @unit.feetest or @unit.indexer.logs or @unit.abijson or @unit.atomic_transaction_composer" test -f progress2 | ||
behave --tags=$(UNITS) test -f progress2 | ||
|
||
INTEGRATIONS = "@abi or @algod or @applications or @applications.verified or @assets or @auction or @c2c or @compile or @dryrun or @dryrun.testing or @indexer or @indexer.231 or @indexer.applications or @kmd or @rekey or @send.keyregtxn or @send" | ||
integration: | ||
behave --tags="@algod or @assets or @auction or @kmd or @send or @template or @indexer or @indexer.applications or @send.keyregtxn or @rekey or @compile or @dryrun or @dryrun.testing or @applications or @applications.verified or @indexer.231 or @abi" test -f progress2 | ||
behave --tags=$(INTEGRATIONS) test -f progress2 | ||
|
||
docker-test: | ||
./run_integration.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
py-algo-sdk.docset |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
. | ||
black==21.9b0 | ||
glom==20.11.0 | ||
pytest==6.2.5 | ||
git+https://github.com/behave/behave |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Oops, something went wrong.