Skip to content

Commit

Permalink
better nox environment
Browse files Browse the repository at this point in the history
  • Loading branch information
rsalmei committed Oct 27, 2020
1 parent 95765ac commit 6456ed5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import nox


@nox.session(python=['3.6', '3.7', '3.8', '3.9', '3.10'])
def tests(session):
session.install('-r', 'requirements/test.txt')
session.install('-r', 'requirements/test.txt', '-e', '.')
session.run('pytest')
1 change: 1 addition & 0 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ ipython
pdbpp
twine
wheel
nox # although it is for testing, it is not needed inside each test scope.

0 comments on commit 6456ed5

Please sign in to comment.