Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sphinx-doc/sphinx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2022-05-02 20:32:15 +0300
committerGitHub <noreply@github.com>2022-05-02 20:32:15 +0300
commit335bf513e85eb2727322a2be9a731af427584fe0 (patch)
tree9839b045f05af47bfaf14dfb0e7c12cb0b4c1727
parente4f78df2fc0905306046d3e9974268c713a1ae88 (diff)
parent00324a566bc6347176cc115f55fee9f2c6291960 (diff)
Merge pull request #10413 from AA-Turner/fix-split-coverage
CI: fix coverage job
-rw-r--r--.github/workflows/main.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 071fdadba..1debcaaf9 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -61,8 +61,6 @@ jobs:
# only run on pushes to branches in the sphinx-doc/sphinx repo
if: github.repository_owner == 'sphinx-doc' && github.event_name == 'push'
runs-on: ubuntu-latest
- env:
- PYTEST_ADDOPTS: "--cov ./ --cov-append --cov-config setup.cfg"
steps:
- uses: actions/checkout@v3
@@ -78,10 +76,12 @@ jobs:
run: sudo apt-get install graphviz
- name: Install dependencies
- run: python -m pip install -U tox pip codecov pytest-cov
+ run: python -m pip install -U pip tox pytest-cov
- name: Run Tox
- run: tox -e py -- -vv
+ run: tox --sitepackages -e py -- -vv
+ env:
+ PYTEST_ADDOPTS: "--cov ./ --cov-append --cov-config setup.cfg"
- name: codecov
uses: codecov/codecov-action@v3