Skip to content

Commit

Permalink
CI: fix Tox/multi-environment Codecov uploads
Browse files Browse the repository at this point in the history
  • Loading branch information
akx committed Jan 27, 2022
1 parent 95ede2f commit 2b58db6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/test.yml
Expand Up @@ -28,4 +28,8 @@ jobs:
python -m pip install tox tox-gh-actions==2.1.0
- name: Run test via Tox
run: tox --skip-missing-interpreters
- uses: codecov/codecov-action@v1
env:
COVERAGE_XML_PATH: ${{ runner.temp }}
- uses: codecov/codecov-action@v2
with:
directory: ${{ runner.temp }}
2 changes: 1 addition & 1 deletion tox.ini
Expand Up @@ -13,7 +13,7 @@ deps =
whitelist_externals = make
commands = make clean-cldr test
setenv =
PYTEST_FLAGS=--cov=babel
PYTEST_FLAGS=--cov=babel --cov-report=xml:{env:COVERAGE_XML_PATH:.coverage_cache}/coverage.{envname}.xml
passenv =
BABEL_*
PYTEST_*
Expand Down

0 comments on commit 2b58db6

Please sign in to comment.