Skip to content

Commit

Permalink
Fix CI (attempt), added a backend section in the README
Browse files Browse the repository at this point in the history
  • Loading branch information
js-dieu committed Oct 17, 2021
1 parent e811c72 commit fd29dff
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
4 changes: 1 addition & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ shared: &shared
- run:
name: "Setup Environment"
command: |
conda create -n ci ${CI_PYTHON} -c https://conda.anaconda.org/conda-forge -c defaults -c anaconda -y
conda install -n ci ${CI_PYTEST} -c https://conda.anaconda.org/conda-forge -c defaults -c anaconda -y
conda install -n ci --file requirements.txt -c https://conda.anaconda.org/conda-forge -c defaults -c anaconda -y
conda create -n ci ${CI_PYTHON} ${CI_PYTEST} $(cat requirements.txt | tr '\n' ' ') -c https://conda.anaconda.org/conda-forge -y
conda init bash
- run:
name: "Prepare Project"
Expand Down
10 changes: 10 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,14 @@ You will need a valid Python 3.5+ interpreter. To get measures, we rely on:

**Note: this plugin doesn't work with unittest**

Storage backends
----------------
By default, pytest-monitor stores its result in a local SQLite3 local database, making results accessible.
If you need a more powerful way to analyze your results, checkout the
`monitor-server-api`_ which brings both a REST Api for storing and historize your results and an API to query your data.
An alternative service (using MongoDB) can be used thanks to a contribution from @dremdem: `pytest-monitor-backend`_.


Contributing
------------

Expand Down Expand Up @@ -160,3 +168,5 @@ This `pytest`_ plugin was generated with `Cookiecutter`_ along with `@hackebrot`
.. _`tox`: https://tox.readthedocs.io/en/latest/
.. _`pip`: https://pypi.org/project/pip/
.. _`PyPI`: https://pypi.org/project
.. _`monitor-server-api`: : https://github.com/CFMTech/monitor-server-api
.. _`pytest-monitor-backend`: https://github.com/dremdem/pytest-monitor-backend

0 comments on commit fd29dff

Please sign in to comment.