Skip to content

Commit

Permalink
Merge pull request #11 from MrNaif2018/formatting-setup
Browse files Browse the repository at this point in the history
Setup formatting checks and follow formatting guidelines
  • Loading branch information
MrNaif2018 authored Aug 14, 2020
2 parents b57324b + ac02828 commit a1f6429
Show file tree
Hide file tree
Showing 24 changed files with 186 additions and 864 deletions.
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
Loading

0 comments on commit a1f6429

Please sign in to comment.