File tree 3 files changed +17
-1
lines changed
3 files changed +17
-1
lines changed Original file line number Diff line number Diff line change 41
41
# run tests!
42
42
- run : gradle test jacocoJupTestReport
43
43
44
+ # upload test coverage to codacy
45
+ - run :
46
+ command : |
47
+ java -cp resources/codacy-coverage-reporter-2.0.2-assembly.jar com.codacy.CodacyCoverageReporter -l Java -r build/jacoco/report.xml
48
+ export CODACY_PROJECT_TOKEN=%CODACY_PROJECT_TOKEN%
49
+ codacy-coverage-reporter -l Java -r build/jacoco/report.xml
50
+
44
51
build_test_python :
45
52
docker :
46
53
- image : circleci/python:3.6.1
56
63
. venv/bin/activate
57
64
pip install -r requirements.txt
58
65
coverage-3.6 run scripts/run_unit_tests.py
66
+ coverage-3.6 xml
59
67
python3 scripts/create_problems_list.py
60
68
69
+ # upload test coverage to codacy
70
+ - run :
71
+ command : |
72
+ export CODACY_PROJECT_TOKEN=%CODACY_PROJECT_TOKEN%
73
+ python-codacy-coverage -r coverage.xml
74
+
61
75
workflows :
62
76
version : 2
63
77
build-test :
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ scripts/problems_list.md
27
27
28
28
htmlcov
29
29
.coverage
30
+ coverage.xml
30
31
package-lock.json
31
32
node_modules
32
33
__pycache__
Original file line number Diff line number Diff line change 1
1
markdown
2
2
BeautifulSoup4
3
- coverage
3
+ coverage
4
+ codacy-coverage
You can’t perform that action at this time.
0 commit comments