From ef5fe65b0c844f6c74b3e9e82f417ef14c9cddd9 Mon Sep 17 00:00:00 2001 From: Dasun Abeykoon Date: Wed, 8 Oct 2025 08:48:49 -0500 Subject: [PATCH] skpkg: add config files for readthedocs and codecov Signed-off-by: Dasun Abeykoon --- .codecov.yml | 14 ++++++++++++++ .readthedocs.yaml | 13 +++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 .codecov.yml create mode 100644 .readthedocs.yaml diff --git a/.codecov.yml b/.codecov.yml new file mode 100644 index 0000000..4af5eb2 --- /dev/null +++ b/.codecov.yml @@ -0,0 +1,14 @@ +coverage: + status: + project: # more options at https://docs.codecov.com/docs/commit-status + default: + target: auto # use the coverage from the base commit, fail if coverage is lower + threshold: 0% # allow the coverage to drop by + +comment: + layout: " diff, flags, files" + behavior: default + require_changes: false + require_base: false # [true :: must have a base report to post] + require_head: false # [true :: must have a head report to post] + hide_project_coverage: false # [true :: only show coverage on the git diff aka patch coverage] diff --git a/.readthedocs.yaml b/.readthedocs.yaml new file mode 100644 index 0000000..aaa8889 --- /dev/null +++ b/.readthedocs.yaml @@ -0,0 +1,13 @@ +version: 2 + +build: + os: "ubuntu-22.04" + tools: + python: "latest" + +python: + install: + - requirements: requirements/docs.txt + +sphinx: + configuration: docs/source/conf.py