Skip to content

Commit 59a0fb8

Browse files
authored
Merge pull request bitshares#313 from bitshares/develop
Develop
2 parents e14e236 + e3b6f2f commit 59a0fb8

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed

.github/workflows/tox.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: tox
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
strategy:
9+
max-parallel: 4
10+
matrix:
11+
python-version: [3.6, 3.7, 3.8]
12+
13+
steps:
14+
- name: Install secp256k1
15+
run: sudo apt-get install libsecp256k1-0 libsecp256k1-dev
16+
- uses: actions/checkout@v1
17+
- name: Set up Python ${{ matrix.python-version }}
18+
uses: actions/setup-python@v1
19+
with:
20+
python-version: ${{ matrix.python-version }}
21+
- name: Install dependencies
22+
run: |
23+
python -m pip install --upgrade pip
24+
pip install tox tox-gh-actions
25+
- name: Test with tox
26+
run: tox

tox.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ commands=
2323
deps =
2424
flake8
2525
commands =
26-
flake8 bitshares*
26+
flake8 bitshares/ bitsharesapi/ bitsharesbase/
27+
2728

2829
[testenv:docs]
2930
basepython=

0 commit comments

Comments
 (0)