Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/actions/test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,5 @@ runs:
export TEST_ENV_USER_ID=${{ fromJSON(inputs.secrets).TEST_ENV_USER_ID }}
export TEST_ENV_PASSWORD=${{ fromJSON(inputs.secrets).TEST_ENV_PASSWORD }}

poetry run python -m unittest discover tests -v
poetry run python -m coverage run -m unittest discover tests -v
poetry run coverage report --omit="*/test*"
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ readme = "README.md"
packages = [{include = "balena"}]

[tool.poetry.dependencies]
python = "^3.8.1"
python = "^3.9.0"
PyJWT = ">=2.0.0"
requests = ">=2.19.1"
pyOpenSSL = ">=18.0.0"
Expand All @@ -21,10 +21,11 @@ deprecated = "^1.2.13"
ratelimit = "^2.2.1"

[tool.poetry.dev-dependencies]
black = {version = "*", python = ">=3.8.1"}
black = {version = "*", python = ">=3.9.0"}
pydocstyle = "*"
flake8 = "*"
pytest= "*"
coverage = "^7.6.12"

[tool.pytest.ini_options]
# Tests are run via the custom action in .github/actions/test/action.yml
Expand Down