xonsh/.coveragerc
Noorhteen Raja NJ 3ce8c9b337
add py310 (#4270)
* chore: adding py310 to ci

though this will require code/parser changes, this is to prepare for
upcoming adoption

* fix: set python version as string

* fix: reference to master -> main

* fix: coverage is not reported in master

- disable amalgamation
	1. during coverage report tests
	2. qa tools like mypy may follow imports
- use python 3.9 for coverage and qa report. since it will have more
coverage and better typing support

* chore: use py3.10 with setup-py action

* chore: add news-item check job

* fix: py3.10 error while starting

the match statement is not supported.
while the syntax support is only upto py3.8

* fix: news-item checker

* chore: enable fail report for py310 tests

* test: add test for ptk_shell
2021-06-07 13:40:40 -04:00

33 lines
647 B
INI

[run]
branch = true
source =
xonsh/
xontrib/
omit =
.venv/*
*/__amalgam__.py
xonsh/lazyasd.py
xonsh/parser_table.py
xonsh/completion_parser_table.py
xonsh/ply/*
# keep all cache files in one place
data_file = .cache/coverage
# https://stackoverflow.com/questions/42721896/coverage-in-parallel-for-django-tests
# when run with xdist - but append mode will not work
#concurrency = multiprocessing
#parallel = true
[report]
precision = 2
exclude_lines =
pragma: no cover
raise NotImplementedError
skip_covered = true
skip_empty = true
show_missing = true
sort = Cover
# something is better than nothing :)
fail_under = 55