mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-06-29 05:56:14 +02:00
Add more steps to pytest
, fully remove behave
(#1347)
* update yaml loader to new method * Add config overrides steps to pytest This requires some patching around the config object, which now happens in every test. Co-authored-by: Micah Jerome Ellison <micah.jerome.ellison@gmail.com> * udpate docs for new tests * remove behave from deps * remove feature dir from flake8 checks * udpate lock file * disable pip version check (it keeps spamming the pipeline) Co-authored-by: Micah Jerome Ellison <micah.jerome.ellison@gmail.com>
This commit is contained in:
parent
a98f3f78af
commit
44edb9bdee
112 changed files with 264 additions and 4814 deletions
|
@ -47,13 +47,11 @@ tzlocal = ">2.0, <3.0" # https://github.com/regebro/tzlocal/blob/master/CHANGE
|
|||
# I don't like repeating deps here, but
|
||||
# there's no other way to do this yet until poetry v1.2 releases
|
||||
# see: https://github.com/python-poetry/poetry/issues/1644
|
||||
behave = { version = "^1.2", optional = true }
|
||||
pytest = { version = ">=6.2", optional = true }
|
||||
pytest-bdd = { version = ">=4.0.1", optional = true }
|
||||
toml = { version = ">=0.10", optional = true }
|
||||
|
||||
[tool.poetry.dev-dependencies]
|
||||
behave = "^1.2"
|
||||
mkdocs = ">=1.0"
|
||||
black = { version = ">=21.5b2", allow-prereleases = true }
|
||||
toml = ">=0.10"
|
||||
|
@ -65,7 +63,7 @@ pyproject-flake8 = "*"
|
|||
yq = "*"
|
||||
|
||||
[tool.poetry.extras]
|
||||
testing = [ "behave", "pytest", "pytest-bdd", "toml" ]
|
||||
testing = [ "pytest", "pytest-bdd", "toml" ]
|
||||
|
||||
[tool.poetry.scripts]
|
||||
jrnl = 'jrnl.cli:cli'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue