File tree Expand file tree Collapse file tree 1 file changed +18
-3
lines changed
Expand file tree Collapse file tree 1 file changed +18
-3
lines changed Original file line number Diff line number Diff line change 2222 yum -y install epel-release
2323 yum install -y python-pip
2424 pip install unittest-xml-reporting
25+ pip install coveralls
2526 yum -y --setopt=tsflag=nodocs install openssl cyrus-sasl cyrus-sasl-md5 cyrus-sasl-plain python-qpid-proton python-qpid python-qpid-messaging python-coverage
2627 - run:
2728 name: Run tests
3031 export QPID_SSL_CERT_PASSWORD_FILE=tests/resources/pwdfile
3132 export QPID_SSL_CERT_NAME=ABCFR_ABCFRALMMACC1
3233 coverage run run_tests.py
33- # - run:
34- # name:
35- # command: echo "hello world"
34+ - run:
35+ name: Collect artifacts
36+ command: |
37+ mkdir -p ./junit-reports/
38+ find . -type f -regex "./test-reports/.*xml" -exec cp {} ./junit-reports/ \;
39+ coverage html
40+ mkdir -p ./coverage-reports/
41+ cp -r htmlcov/* ./coverage-reports/
42+ - run:
43+ name: Collect artifacts
44+ command: |
45+ export COVERALLS_REPO_TOKEN=${COVERALLS_TOKEN}
46+ coveralls
47+ - store_test_results:
48+ path: junit-reports/
49+ - store_artifacts:
50+ path: coverage-reports/
You can’t perform that action at this time.
0 commit comments