Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup formatting checks and follow formatting guidelines #11

Merged
merged 6 commits into from
Aug 14, 2020
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
19 changes: 9 additions & 10 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,35 +12,34 @@ jobs:
- run:
name: install library
command: |
python3 -m venv venv
. venv/bin/activate
python3 -m venv ~/venv
. ~/venv/bin/activate
python setup.py install
pip install -r test-requirements.txt

- run:
name: install daemon
command: |
. venv/bin/activate
. ~/venv/bin/activate
sudo apt install libsecp256k1-dev
git clone https://github.com/MrNaif2018/bitcart bitcart-daemon
cd bitcart-daemon
git clone https://github.com/MrNaif2018/bitcart ~/bitcart-daemon
cd ~/bitcart-daemon
pip install -r requirements/base.txt
pip install -r requirements/daemons/btc.txt

- run:
name: prepare daemon
command: |
. venv/bin/activate
cd bitcart-daemon
. ~/venv/bin/activate
cd ~/bitcart-daemon
BTC_DEBUG=true BTC_LIGHTNING=true BTC_NETWORK=testnet python3 daemons/btc.py
background: true

- run:
name: run tests
command: |
. venv/bin/activate
mypy bitcart
pytest tests/
. ~/venv/bin/activate
make ci
codecov

- store_artifacts:
Expand Down