mirror of
https://github.com/senju1337/senju.git
synced 2025-12-23 23:39:27 +00:00
chore: configure testing
This commit is contained in:
parent
26859d4177
commit
101813b4f7
2 changed files with 243 additions and 83 deletions
|
|
@ -1,86 +1,3 @@
|
|||
[tool.semantic_release]
|
||||
assets = []
|
||||
build_command_env = []
|
||||
commit_message = "{version}\n\nAutomatically generated by python-semantic-release"
|
||||
commit_parser = "angular"
|
||||
logging_use_named_masks = false
|
||||
major_on_zero = true
|
||||
allow_zero_version = true
|
||||
repo_dir = "/home/plex/Dokumente/code/py/senju"
|
||||
no_git_verify = false
|
||||
tag_format = "v{version}"
|
||||
|
||||
[tool.semantic_release.branches.main]
|
||||
match = "(main|master)"
|
||||
prerelease_token = "rc"
|
||||
prerelease = false
|
||||
|
||||
[tool.semantic_release.changelog]
|
||||
changelog_file = ""
|
||||
exclude_commit_patterns = []
|
||||
mode = "init"
|
||||
insertion_flag = "<!-- version list -->"
|
||||
template_dir = "templates"
|
||||
|
||||
[tool.semantic_release.changelog.default_templates]
|
||||
changelog_file = "CHANGELOG.md"
|
||||
output_format = "md"
|
||||
mask_initial_release = false
|
||||
|
||||
[tool.semantic_release.changelog.environment]
|
||||
block_start_string = "{%"
|
||||
block_end_string = "%}"
|
||||
variable_start_string = "{{"
|
||||
variable_end_string = "}}"
|
||||
comment_start_string = "{#"
|
||||
comment_end_string = "#}"
|
||||
trim_blocks = false
|
||||
lstrip_blocks = false
|
||||
newline_sequence = "\n"
|
||||
keep_trailing_newline = false
|
||||
extensions = []
|
||||
autoescape = false
|
||||
|
||||
[tool.semantic_release.commit_author]
|
||||
env = "GIT_COMMIT_AUTHOR"
|
||||
default = "semantic-release <semantic-release>"
|
||||
|
||||
[tool.semantic_release.commit_parser_options]
|
||||
minor_tags = ["feat"]
|
||||
patch_tags = ["fix", "perf"]
|
||||
other_allowed_tags = [
|
||||
"build",
|
||||
"chore",
|
||||
"ci",
|
||||
"docs",
|
||||
"style",
|
||||
"refactor",
|
||||
"test",
|
||||
]
|
||||
allowed_tags = [
|
||||
"feat",
|
||||
"fix",
|
||||
"perf",
|
||||
"build",
|
||||
"chore",
|
||||
"ci",
|
||||
"docs",
|
||||
"style",
|
||||
"refactor",
|
||||
"test",
|
||||
]
|
||||
default_bump_level = 0
|
||||
|
||||
[tool.semantic_release.remote]
|
||||
name = "origin"
|
||||
type = "github"
|
||||
ignore_token_for_push = false
|
||||
insecure = false
|
||||
|
||||
[tool.semantic_release.publish]
|
||||
dist_glob_patterns = ["dist/*"]
|
||||
upload_to_vcs_release = true
|
||||
|
||||
[project]
|
||||
name = "senju"
|
||||
version = "0.1.0"
|
||||
|
|
@ -91,9 +8,22 @@ authors = [
|
|||
readme = "README.md"
|
||||
requires-python = ">=3.10"
|
||||
dependencies = [
|
||||
"jinja2 (>=3.1.5,<4.0.0)",
|
||||
"pytest>=7.0.0",
|
||||
]
|
||||
|
||||
|
||||
|
||||
[build-system]
|
||||
requires = ["poetry-core>=2.0.0,<3.0.0"]
|
||||
build-backend = "poetry.core.masonry.api"
|
||||
|
||||
[tool.poetry.scripts]
|
||||
sennen = "senju.main:main"
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
testpaths = ["tests"]
|
||||
python_files = ["test_*.py"]
|
||||
python_classes = ["Test*"]
|
||||
python_functions = ["test_*"]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue