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 11version : 2
22jobs :
3- test_api_and_main :
3+ test_api_and_main_and_upload :
44 docker :
55 - image : circleci/python
66 steps :
@@ -15,25 +15,15 @@ jobs:
1515 cd /home/circleci/project/
1616 pip3 install --user -r requirements.txt
1717 - run :
18- name : test api
18+ name : test main
1919 command : |
2020 cd /home/circleci/project/
21- python3 tests/api_tests .py
21+ python3 tests/main_tests .py
2222 - run :
23- name : test maim
23+ name : test api
2424 command : |
2525 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
3727 - run :
3828 name : create packages
3929 command : |
@@ -44,11 +34,10 @@ jobs:
4434 command : |
4535 python3 -m pip install --user --upgrade twine
4636 python3 -m twine upload dist/* -u $PYPI_USERNAME -p $PYPI_PASSWORD || echo "Package already exists"
37+
38+
4739workflows :
4840 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 :
5342 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
1212
1313# Testing
1414nose2 == 0.7.3
15+ regex
You can’t perform that action at this time.
0 commit comments