Skip to content
Merged
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
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ docs:
mkdocs build --strict

test-local: ensure-env
pytest --moodle-env local
pytest --moodle-env local -n auto

test-staging: ensure-env
pytest --moodle-env staging
pytest --moodle-env staging -n auto

test: upd test-local

Expand All @@ -63,8 +63,8 @@ help:
@echo " docs - Build documentation with mkdocs"
@echo ""
@echo "Testing:"
@echo " test-local - Run local tests using pytest with moodle-env=local"
@echo " test-staging - Run tests using moodle-env=staging"
@echo " test-local - Run local tests (in parallel) using pytest with moodle-env=local"
@echo " test-staging - Run tests (in parallel) using moodle-env=staging"
@echo " test - Start containers (detached) and run local tests"
@echo ""
@echo " help - Show this help message"
Expand Down
21 changes: 20 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,26 @@ dependencies = [
"lxml",
"python-dotenv",
"typer[all]",
"rich==14.1.0",
"rich",
]

[project.optional-dependencies]
dev = [
"pytest",
"pytest-cov",
"pytest-xdist",
"flake8",
"flake8-docstrings",
"black",
"mypy",
"isort",
"mkdocs",
"mkdocstrings[python]",
"pymdown-extensions",
"mkdocs-material",
"mkdocs-autorefs",
"mkdocs-git-revision-date-localized-plugin",
"mkdocs-minify-plugin"
]

[project.scripts]
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ rich
# dev dependencies
pytest
pytest-cov
pytest-xdist
flake8
flake8-docstrings
black
Expand Down
Loading