Skip to content

Commit

Permalink
Merge pull request #10413 from AA-Turner/fix-split-coverage
Browse files Browse the repository at this point in the history
CI: fix coverage job
  • Loading branch information
tk0miya committed May 2, 2022
2 parents e4f78df + 00324a5 commit 335bf51
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Expand Up @@ -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
Expand All @@ -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

0 comments on commit 335bf51

Please sign in to comment.