8000 Mute integration tests job. Tests are not ready yet, only mocked test… · maddevsio/raiden-client-python@0c9cf1a · GitHub
[go: up one dir, main page]

Skip to content

Commit 0c9cf1a

Browse files
committed
Mute integration tests job. Tests are not ready yet, only mocked tests available
1 parent b9f409d commit 0c9cf1a

File tree

1 file changed

+49
-49
lines changed

1 file changed

+49
-49
lines changed

.circleci/config.yml

+49-49
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ jobs:
2121
- ./venv
2222
key: v1-cache-{{ checksum "setup.py" }}
2323
- 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
2626
- run:
2727
name: Run mypy
2828
command: . venv/bin/activate && mypy -p raiden_client --config-file mypy.ini
@@ -33,47 +33,47 @@ jobs:
3333
name: Run isort
3434
command: . venv/bin/activate && isort . --recursive -c -l 120
3535

36-
integration-tests:
37-
docker:
38-
- image: circleci/python:3.7.3
36+
# integration-tests:
37+
# docker:
38+
# - image: circleci/python:3.7.3
3939

40-
steps:
41-
- checkout
40+
# steps:
41+
# - checkout
4242

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" }}
5757

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
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
7777

7878
pypi_release:
7979
docker:
@@ -91,7 +91,7 @@ jobs:
9191
- run:
9292
name: Deploy pypi
9393
command: . venv/bin/activate && twine upload dist/*
94-
# mypy -p raiden_client --config-file mypy.ini
94+
9595
workflows:
9696
version: 2
9797
build:
@@ -100,18 +100,18 @@ workflows:
100100
filters:
101101
tags:
102102
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]+)*/
109109
- pypi_release:
110110
filters:
111111
branches:
112112
ignore: /.*/
113113
tags:
114114
only: /v[0-9]+(\.[0-9]+)*/
115115
requires:
116-
- integration-tests
117-
- unittests
116+
- unittests
117+
# - integration-tests

0 commit comments

Comments
 (0)
0