Skip to content

Commit

Permalink
fixed pytest error, added noxfile
Browse files Browse the repository at this point in the history
  • Loading branch information
dreyjo committed Oct 18, 2023
1 parent e3f5060 commit af4c68e
Show file tree
Hide file tree
Showing 3 changed files with 208 additions and 2 deletions.
10 changes: 10 additions & 0 deletions noxfile.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import nox

versions = ["3.8", "3.9", "3.10", "3.11"]

@nox.session(python=versions)
def py_tests(session):
session.install(".")

for v in versions:
session.run("pytest")
195 changes: 193 additions & 2 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,13 @@ packages = [{include = "born_digital_docs_scripts", from = "src"}]

[tool.poetry.dependencies]
python = "^3.11"
bagit = "^1.8.1"


[tool.poetry.group.dev.dependencies]
pytest = "^7.4.2"
nox = "^2023.4.22"

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

0 comments on commit af4c68e

Please sign in to comment.