From cd9fd6a1ce7a90f69613943afb3c9fa14e7b9181 Mon Sep 17 00:00:00 2001 From: sommersoft Date: Sat, 23 Apr 2022 11:04:08 -0500 Subject: [PATCH] re-add pytest-cov; this time with the correct changes --- .github/workflows/downstream_testing.yml | 9 +++++++++ testing/downstream_testing/action_schemas.json | 15 +++++++++++++++ 2 files changed, 24 insertions(+) diff --git a/.github/workflows/downstream_testing.yml b/.github/workflows/downstream_testing.yml index b2293f484..4299511f3 100644 --- a/.github/workflows/downstream_testing.yml +++ b/.github/workflows/downstream_testing.yml @@ -67,6 +67,15 @@ jobs: workflow_name: "test.yml" matrix_exclude: "" + - name: "pytest-cov" + repo: "pytest-dev/pytest-cov" + docker_profile: "nodb" + jobs: "test" + workflow_name: "test.yml" + # Exclude pypy3 for now; stil working on a suitable regex substitution + matrix_exclude: | + 3.6 pypy-3.6 pypy-3.7 + steps: - uses: actions/checkout@v2 with: diff --git a/testing/downstream_testing/action_schemas.json b/testing/downstream_testing/action_schemas.json index f822db873..c6fa03c86 100644 --- a/testing/downstream_testing/action_schemas.json +++ b/testing/downstream_testing/action_schemas.json @@ -58,5 +58,20 @@ "replace": "py\\1\\2" } } + }, + "pytest-cov": { + "matrix": [ + "matrix", + "python-version" + ], + "tox_cmd_build": { + "base": "", + "prefix": "", + "sub": + { + "pattern": "^\\d\\.(\\d+)(?:-dev)*", + "replace": "py3\\1" + } + } } }