Skip to content

Commit

Permalink
Add noxfile.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Kaiser committed Jun 22, 2020
1 parent 75cca90 commit 5046cd1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
4 changes: 0 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ Development
|coveralls|_
|codacy|_
|codeclimate|_
|circleci|_
|scrutinizer|_
|requires.io|_

Expand Down Expand Up @@ -130,9 +129,6 @@ Contributions are always welcome, read our `contribution guidelines`_ and visit
.. |codeclimate| image:: https://api.codeclimate.com/v1/badges/3a4a61548fcc195e4ba1/maintainability
.. _codeclimate: https://codeclimate.com/github/Kotti/Kotti/maintainability

.. |circleci| image:: https://circleci.com/gh/Kotti/Kotti/tree/master.svg?style=svg
.. _circleci: https://circleci.com/gh/Kotti/Kotti/tree/master

.. |scrutinizer| image:: https://scrutinizer-ci.com/g/Kotti/Kotti/badges/quality-score.png?b=master
.. _scrutinizer: https://scrutinizer-ci.com/g/Kotti/Kotti/

Expand Down
8 changes: 8 additions & 0 deletions noxfile.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import nox


@nox.session(python=["3.8", "3.7", "3.6"])
def tests(session):
args = session.posargs or ["--cov"]
session.run("pip", "install", "-e", ".[testing]", external=True)
session.run("pytest", *args)

0 comments on commit 5046cd1

Please sign in to comment.