feat: migrate from Forgejo to GitLab CI with test reporting
All checks were successful
Test pipeline / test (push) Successful in 16s
All checks were successful
Test pipeline / test (push) Successful in 16s
- Convert Forgejo workflow to GitLab CI/CD (.gitlab-ci.yml) - Add JUnit XML and coverage reporting with pytest-cov - Configure caching and artifacts for better CI performance - Fix pytest.ini configuration and enhance .coveragerc - Support GitLab v18.1.1 with comprehensive test visualization
This commit is contained in:
parent
e7ccf3b3c5
commit
6f5f9a0bf8
6 changed files with 71 additions and 4 deletions
19
.coveragerc
19
.coveragerc
|
@ -1,8 +1,12 @@
|
|||
[run]
|
||||
source = doi2dataset
|
||||
omit =
|
||||
omit =
|
||||
*/tests/*
|
||||
*/test_*
|
||||
*/docs/*
|
||||
*/__pycache__/*
|
||||
*/venv/*
|
||||
*/.venv/*
|
||||
setup.py
|
||||
conf.py
|
||||
__init__.py
|
||||
|
@ -11,13 +15,22 @@ omit =
|
|||
exclude_lines =
|
||||
pragma: no cover
|
||||
def __repr__
|
||||
def __str__
|
||||
if self.debug:
|
||||
raise NotImplementedError
|
||||
raise AssertionError
|
||||
if __name__ == .__main__.:
|
||||
if TYPE_CHECKING:
|
||||
@abstractmethod
|
||||
pass
|
||||
raise ImportError
|
||||
except ImportError
|
||||
def __str__
|
||||
|
||||
show_missing = true
|
||||
precision = 2
|
||||
|
||||
[html]
|
||||
directory = htmlcov
|
||||
directory = htmlcov
|
||||
|
||||
[xml]
|
||||
output = coverage.xml
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue