File tree Expand file tree Collapse file tree 2 files changed +10
-20
lines changed Expand file tree Collapse file tree 2 files changed +10
-20
lines changed Original file line number Diff line number Diff line change 1
1
version : 2
2
2
jobs :
3
- test_api_and_main :
3
+ test_api_and_main_and_upload :
4
4
docker :
5
5
- image : circleci/python
6
6
steps :
@@ -15,25 +15,15 @@ jobs:
15
15
cd /home/circleci/project/
16
16
pip3 install --user -r requirements.txt
17
17
- run :
18
- name : test api
18
+ name : test main
19
19
command : |
20
20
cd /home/circleci/project/
21
- python3 tests/api_tests .py
21
+ python3 tests/main_tests .py
22
22
- run :
23
- name : test maim
23
+ name : test api
24
24
command : |
25
25
cd /home/circleci/project/
26
- python3 tests/main_tests.py
27
-
28
- build :
29
- docker :
30
- - image : circleci/python
31
- steps :
32
- - checkout
33
- - run :
34
- name : init .pypirc
35
- command : |
36
- echo -e "[pypi]" >> ~/.pypirc
26
+ python3 tests/api_tests.py
37
27
- run :
38
28
name : create packages
39
29
command : |
@@ -44,11 +34,10 @@ jobs:
44
34
command : |
45
35
python3 -m pip install --user --upgrade twine
46
36
python3 -m twine upload dist/* -u $PYPI_USERNAME -p $PYPI_PASSWORD || echo "Package already exists"
37
+
38
+
47
39
workflows :
48
40
version : 2
49
- test_api_and_main :
50
- jobs :
51
- - test_api_and_main
52
- build_and_upload :
41
+ test_api_and_main_and_upload :
53
42
jobs :
54
- - build
43
+ - test_api_and_main_and_upload
Original file line number Diff line number Diff line change @@ -12,3 +12,4 @@ xmltodict==0.11.0
12
12
13
13
# Testing
14
14
nose2 == 0.7.3
15
+ regex
You can’t perform that action at this time.
0 commit comments