瀏覽代碼

Try to get coveralls working again

tags/v0.7.1
Ben Kurtovic 1 年之前
父節點
當前提交
5d50de52e9
共有 3 個檔案被更改,包括 7 行新增 和 0 行删除
  1. +3
    -0
      .coveragerc
  2. +3
    -0
      .github/workflows/build.yml
  3. +1
    -0
      pyproject.toml

+ 3
- 0
.coveragerc 查看文件

@@ -1,3 +1,6 @@
[run]
relative_files = True

[report]
exclude_lines =
pragma: no cover


+ 3
- 0
.github/workflows/build.yml 查看文件

@@ -33,7 +33,10 @@ jobs:
path: ./wheelhouse/*.whl

- name: Coveralls
if: matrix.os == 'linux-intel'
uses: coverallsapp/github-action@v2
with:
files: ./wheelhouse/.coverage*

build-sdist:
name: Build source distribution


+ 1
- 0
pyproject.toml 查看文件

@@ -78,6 +78,7 @@ test-groups = ["dev"]
test-command = [
"python -c 'import mwparserfromhell.parser._tokenizer'",
"pytest {project}/tests -rxs --cov=mwparserfromhell",
"mkdir -p /output && mv .coverage /output/.coverage.$(uuidgen)"
]

[tool.pyright]


Loading…
取消
儲存