mirror of
https://github.com/markqvist/rnsh.git
synced 2024-10-01 01:15:37 -04:00
Set up some tests to be skipped in CI builds
This commit is contained in:
parent
86906fd8f4
commit
ef6a4ebb25
2
.github/workflows/python-package.yml
vendored
2
.github/workflows/python-package.yml
vendored
@ -39,4 +39,4 @@ jobs:
|
||||
# run: poetry run black . --check
|
||||
|
||||
- name: Test with pytest
|
||||
run: poetry run pytest tests
|
||||
run: poetry run pytest "not skip_ci" tests
|
||||
|
@ -15,13 +15,17 @@ psutil = "^5.9.4"
|
||||
[tool.poetry.scripts]
|
||||
rnsh = 'rnsh.rnsh:rnsh_cli'
|
||||
|
||||
|
||||
[tool.poetry.group.dev.dependencies]
|
||||
pytest = "^7.2.1"
|
||||
setuptools = "^67.2.0"
|
||||
black = "^23.1.0"
|
||||
pytest-asyncio = "^0.20.3"
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
markers = [
|
||||
"skip_ci: marks tests that should not be run in CI builds (deselect with '-m \"not skip_ci\"')"
|
||||
]
|
||||
|
||||
[build-system]
|
||||
requires = ["poetry-core"]
|
||||
build-backend = "poetry.core.masonry.api"
|
||||
|
@ -52,6 +52,7 @@ class State(contextlib.AbstractContextManager):
|
||||
return False
|
||||
|
||||
|
||||
@pytest.mark.skip_ci
|
||||
@pytest.mark.asyncio
|
||||
async def test_echo():
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user