Skip to content

Commit 7353774

Browse files
authored
Store test results in CircleCI (#395)
* Try it * Test results may not be in hidden folders
1 parent 4a25004 commit 7353774

File tree

3 files changed

+6
-13
lines changed

3 files changed

+6
-13
lines changed

.circleci/config.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,8 @@ jobs:
2727
- "/home/pyenv/.tox"
2828
- "/usr/local/bin"
2929
- "/usr/local/lib/python3.6/site-packages"
30-
- store_artifacts:
31-
path: .junit
3230
- store_test_results:
33-
path: .junit
31+
path: junit
3432

3533
test-pypy:
3634
docker:
@@ -53,10 +51,8 @@ jobs:
5351
- "/home/pyenv/.tox"
5452
- "/usr/local/bin"
5553
- "/usr/local/lib/python3.6/site-packages"
56-
- store_artifacts:
57-
path: .junit
5854
- store_test_results:
59-
path: .junit
55+
path: junit
6056

6157
workflows:
6258
version: 2

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ A Lisp dialect inspired by Clojure targeting Python 3.
55
**Disclaimer:** _Basilisp is a project I created to learn about Python, Clojure,
66
and hosted languages generally. It should not be used in a production setting._
77

8-
![PyPI](https://img.shields.io/pypi/v/basilisp.svg?style=flat-square) ![python](https://img.shields.io/pypi/pyversions/basilisp.svg?style=flat-square) ![pyimpl](https://img.shields.io/pypi/implementation/basilisp.svg?style=flat-square) ![readthedocs](https://img.shields.io/readthedocs/basilisp.svg?style=flat-square) ![CircleCI]( https://img.shields.io/circleci/project/github/chrisrink10/basilisp/master.svg?style=flat-square) ![Coveralls github](https://img.shields.io/coveralls/github/chrisrink10/basilisp.svg?style=flat-square) ![license](https://img.shields.io/github/license/chrisrink10/basilisp.svg?style=flat-square)
8+
[![PyPI](https://img.shields.io/pypi/v/basilisp.svg?style=flat-square)](https://pypi.org/project/basilisp/) [![python](https://img.shields.io/pypi/pyversions/basilisp.svg?style=flat-square)](https://pypi.org/project/basilisp/) [![pyimpl](https://img.shields.io/pypi/implementation/basilisp.svg?style=flat-square)](https://pypi.org/project/basilisp/) [![readthedocs](https://img.shields.io/readthedocs/basilisp.svg?style=flat-square)](https://basilisp.readthedocs.io/) [![CircleCI]( https://img.shields.io/circleci/project/github/basilisp-lang/basilisp/master.svg?style=flat-square)](https://circleci.com/gh/basilisp-lang/basilisp) [![Coveralls github](https://img.shields.io/coveralls/github/basilisp-lang/basilisp.svg?style=flat-square)](https://coveralls.io/github/basilisp-lang/basilisp) [![license](https://img.shields.io/github/license/basilisp-lang/basilisp.svg?style=flat-square)](https://github.com/basilisp-lang/basilisp/blob/master/LICENSE)
99

1010
## Getting Started
1111

tox.ini

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,15 @@ envlist = py36,py37,mypy,format,lint
55
parallel_show_output = {env:TOX_SHOW_OUTPUT:false}
66
setenv =
77
BASILISP_DO_NOT_CACHE_NAMESPACES = true
8-
whitelist_externals = rm
98
deps =
109
coverage
1110
six==1.10.0
1211
commands =
13-
rm -rf {toxinidir}/.junit
14-
rm -rf {toxinidir}/.coverage.*
1512
coverage run \
1613
--source={envsitepackagesdir}/basilisp \
1714
--parallel-mode \
1815
-m pytest \
19-
--junitxml={toxinidir}/.junit/{envname}/test-results.xml \
16+
--junitxml={toxinidir}/junit/pytest/{envname}.xml \
2017
{posargs}
2118

2219
[testenv:coverage]
@@ -26,8 +23,8 @@ deps =
2623
coveralls
2724
coverage
2825
six==1.10.0
29-
setenv =
30-
COVERALLS_REPO_TOKEN = {env:COVERALLS_REPO_TOKEN}
26+
passenv =
27+
COVERALLS_REPO_TOKEN
3128
usedevelop = true
3229
commands =
3330
coverage combine

0 commit comments

Comments
 (0)