8000 Use Python version as flag for Codecov (#464) · python/bedevere@709c31c · GitHub
[go: up one dir, main page]

Skip to content

Commit 709c31c

Browse files
authored
Use Python version as flag for Codecov (#464)
* Print coverage to terminal * Use Python version as flag for Codecov * Simplify config
1 parent 6e98e09 commit 709c31c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313

1414
strategy:
1515
matrix:
16-
python-version: ["3.8", "3.9", "3.10", "3.11.0-alpha - 3.11.0"]
16+
python-version: ["3.8", "3.9", "3.10", "3.11-dev"]
1717

1818
steps:
1919
- uses: actions/checkout@v3
@@ -40,9 +40,10 @@ jobs:
4040
# https://github.com/aio-libs/yarl/issues/680
4141
YARL_NO_EXTENSIONS: 1
4242
- name: Run Tests
43-
run: pytest --cov --cov-report=xml
43+
run: pytest --cov --cov-report=term --cov-report=xml
4444
- uses: codecov/codecov-action@v2
4545
if: always()
4646
with:
4747
token: ${{ secrets.CODECOV_TOKEN }}
4848
file: ./coverage.xml
49+
flags: Python_${{ matrix.python-version }}

0 commit comments

Comments
 (0)
0