21
21
- ./venv
22
22
key : v1-cache-{{ checksum "setup.py" }}
23
23
- run :
24
- name : run tests
25
- command : . venv/bin/activate && pytest tests/plugins/
24
+ name : Run unittests
25
+ command : . venv/bin/activate && pytest --cov=./raiden_client && codecov --token=$CODECOV_TOKEN
26
26
- run :
27
27
name : Run mypy
28
28
command : . venv/bin/activate && mypy -p raiden_client --config-file mypy.ini
@@ -33,47 +33,47 @@ jobs:
33
33
name : Run isort
34
34
command : . venv/bin/activate && isort . --recursive -c -l 120
35
35
36
- integration-tests :
37
- docker :
38
- - image : circleci/python:3.7.3
36
+ # integration-tests:
37
+ # docker:
38
+ # - image: circleci/python:3.7.3
39
39
40
- steps :
41
- - checkout
40
+ # steps:
41
+ # - checkout
42
42
43
- - restore_cache :
44
- keys :
45
- - v1-cache-{{ checksum "setup.py" }}
46
- - v1-cache-
47
- - run :
48
- name : Install dependencies
49
- command : |
50
- python3 -m venv venv
51
- . venv/bin/activate
52
- pip install -e .[dev]
53
- - save_cache :
54
- paths :
55
- - ./venv
56
- key : v1-cache-{{ checksum "setup.py" }}
43
+ # - restore_cache:
44
+ # keys:
45
+ # - v1-cache-{{ checksum "setup.py" }}
46
+ # - v1-cache-
47
+ # - run:
48
+ # name: Install dependencies
49
+ # command: |
50
+ # python3 -m venv venv
51
+ # . venv/bin/activate
52
+ # pip install -e .[dev]
53
+ # - save_cache:
54
+ # paths:
55
+ # - ./venv
56
+ # key: v1-cache-{{ checksum "setup.py" }}
57
57
58
- - run :
59
- background : true
60
- name : Spin-up of Raiden node
61
- command : |
62
- . venv/bin/activate
63
- pip install raiden==0.100.3
64
- raiden --accept-disclaimer \
65
- --keystore-path ~/project/tests/fixtures/rinkeby/keystore \
66
- --eth-rpc-endpoint "https://rinkeby.infura.io/v3/${INFURA_TOKEN}" \
67
- --network-id rinkeby \
68
- --environment-type development \
69
- --address 0xe59a5927cbB5007ffF0384244354b158464C47d3 \
70
- --password-file ~/project/tests/fixtures/rinkeby/password.txt
71
- - run :
72
- name : Waiting Raiden node to spin-up
73
- command : sleep 30s
74
- - run :
75
- name : Run integration tests
76
- command : . venv/bin/activate && pytest --cov=./raiden_client && codecov --token=$CODECOV_TOKEN
58
+ # - run:
59
+ # background: true
60
+ # name: Spin-up of Raiden node
E7EE
td>61
+ # command: |
62
+ # . venv/bin/activate
63
+ # pip install raiden==0.100.3
64
+ # raiden --accept-disclaimer \
65
+ # --keystore-path ~/project/tests/fixtures/rinkeby/keystore \
66
+ # --eth-rpc-endpoint "https://rinkeby.infura.io/v3/${INFURA_TOKEN}" \
67
+ # --network-id rinkeby \
68
+ # --environment-type development \
69
+ # --address 0xe59a5927cbB5007ffF0384244354b158464C47d3 \
70
+ # --password-file ~/project/tests/fixtures/rinkeby/password.txt
71
+ # - run:
72
+ # name: Waiting Raiden node to spin-up
73
+ # command: sleep 30s
74
+ # - run:
75
+ # name: Run integration tests
76
+ # command: . venv/bin/activate && pytest --cov=./raiden_client && codecov --token=$CODECOV_TOKEN
77
77
78
78
pypi_release :
79
79
docker :
91
91
- run :
92
92
name : Deploy pypi
93
93
command : . venv/bin/activate && twine upload dist/*
94
- # mypy -p raiden_client --config-file mypy.ini
94
+
95
95
workflows :
96
96
version : 2
97
97
build :
@@ -100,18 +100,18 @@ workflows:
100
100
filters :
101
101
tags :
102
102
only : /v[0-9]+(\.[0-9]+)*/
103
- - integration-tests :
104
- filters :
105
- branches :
106
- only : master
107
- tags :
108
- only : /v[0-9]+(\.[0-9]+)*/
103
+ # - integration-tests:
104
+ # filters:
105
+ # branches:
106
+ # only: master
107
+ # tags:
108
+ # only: /v[0-9]+(\.[0-9]+)*/
109
109
- pypi_release :
110
110
filters :
111
111
branches :
112
112
ignore : /.*/
113
113
tags :
114
114
only : /v[0-9]+(\.[0-9]+)*/
115
115
requires :
116
- - integration-tests
117
- - unittests
116
+ - unittests
117
+ # - integration-tests