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" + } + } } }