Skip to content

Commit

Permalink
[SDS-NNN] unit tests needed flaky and different directory (#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
QFer authored Apr 4, 2023
1 parent 740ba4c commit 4526e2e
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
13 changes: 11 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -133,13 +133,22 @@ Run the unit tests using:

.. code-block:: bash
pytest
pytest tests/unit_test
or including coverage:

.. code-block:: bash
pytest tests --cov=pennylane_quantuminspire --cov-report=term-missing --cov-report=xml -p no:warnings --tb=native
pytest tests/unit_test --cov=pennylane_quantuminspire --cov-report=term-missing --cov-report=xml -p no:warnings --tb=native
Device tests
~~~~~~~~~~~~

Run the device tests using:

.. code-block:: bash
pytest
.. installation-end-inclusion-marker-do-not-remove
Expand Down
2 changes: 1 addition & 1 deletion pennylane_quantuminspire/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@
Version number according to semantic versioning (https://semver.org/)
"""

__version__ = "0.5.0"
__version__ = "0.4.1"
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
]

extra_requirements = {
'dev': ['pytest>=3.3.1', 'pytest-cov', 'pytest-mock', 'pylint', 'mypy>=0.670', 'black'],
'dev': ['pytest>=3.3.1', 'pytest-cov', 'pytest-mock', 'pylint', 'mypy>=0.670', 'black', 'flaky'],
'rtd': ['docutils==0.19', 'ipykernel==6.22.0', 'jinja2==3.1.2', 'mthree==2.3.0', 'nbsphinx==0.9.1',
'pybind11==2.10.4', 'pygments==2.14.0', 'pygments-github-lexers==0.0.5', 'sphinxcontrib-bibtex==2.5.0',
'sphinx-automodapi==0.15.0', 'xanadu-sphinx-theme==0.3.7'],
Expand Down

0 comments on commit 4526e2e

Please sign in to comment.