Skip to content

Commit af073de

Browse files
move test requirements away from normal requirements (#315)
1 parent 5b0d5cf commit af073de

File tree

5 files changed

+8
-7
lines changed

5 files changed

+8
-7
lines changed

.gitlab-ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ test:
3131
script:
3232
- pip3 install -r requirements.txt
3333
- pip3 install -e .
34+
- pip3 install -r test_requirements.txt
3435
# pytest --docker not working? Uncomment this for better debugging:
3536
# - python3 tests/conftest.py
3637
- pytest --docker

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,5 @@ before_install:
4646
- set -o errexit; source ./tests/install_bitcoind.sh
4747
script:
4848
- pip install -e .
49+
- pip install -r test_requirements.txt
4950
- pytest

DEVELOPMENT.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
Install dependencies:
44

5-
HWI support requires `libusb` (necessary? Or is `pip install libusb1` sufficient?):
65
* Ubuntu/Debian: `sudo apt install libusb-1.0-0-dev libudev-dev`
76
* macOS: `brew install libusb`
87

@@ -11,7 +10,6 @@ git clone https://github.com/cryptoadvance/specter-desktop.git
1110
cd specter-desktop
1211
virtualenv --python=python3 .env
1312
source .env/bin/activate
14-
pip3 install -r requirements.txt
1513
pip3 install -e .
1614
```
1715

@@ -25,8 +23,9 @@ python3 -m cryptoadvance.specter server
2523
# Run the tests
2624
Run the tests (still very limited):
2725

28-
```
26+
```sh
2927
pip3 install -e .
28+
pip3 install -r test_requirements.txt
3029

3130
# needs a bitcoind on your path
3231
pytest

requirements.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,3 @@ python-dotenv==0.13.0
1111
requests==2.23.0
1212
six==1.12.0
1313
stem==1.8.0
14-
# only for testing currently
15-
docker==4.1.0
16-
pytest==5.2.2
17-
PySocks==1.7.1

test_requirements.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# requirements for testing
2+
docker==4.1.0
3+
pytest==5.2.2
4+
PySocks==1.7.1

0 commit comments

Comments
 (0)