File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515 timeout-minutes : 20
1616 name : Test on ${{ matrix.os }} Python ${{ matrix.python-version }}
1717 runs-on : ${{ matrix.os }}
18+ permissions :
19+ contents : read
20+ id-token : write # Required for Codecov OIDC authentication
1821 strategy :
1922 fail-fast : false
2023 matrix :
@@ -51,12 +54,20 @@ jobs:
5154 - name : Clone repository
5255 uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # 6.0.3
5356 with :
54- persist-credentials : false
57+ persist-credentials : true # Required for Codecov OIDC authentication
5558
5659 - name : Test with pytest
5760 run : |
5861 uv run --python ${{ matrix.python-version }} --group tests --locked pytest
5962
63+ - name : Upload coverage to Codecov
64+ if : matrix.os == 'ubuntu-26.04' && matrix.python-version == '3.14'
65+ uses : codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
66+ with :
67+ use_oidc : true
68+ files : ./coverage.xml
69+ fail_ci_if_error : false
70+
6071 lint :
6172 timeout-minutes : 10
6273 name : Lint with Ruff
Original file line number Diff line number Diff line change 33[ ![ language tool python on pypi] ( https://img.shields.io/pypi/v/language-tool-python )] ( https://pypi.org/project/language-tool-python/ )
44[ ![ Documentation Status] ( https://readthedocs.org/projects/language-tool-python/badge/?version=latest )] ( https://language-tool-python.readthedocs.io/en/latest/ )
55[ ![ Test with PyTest] ( https://github.com/jxmorris12/language_tool_python/workflows/Test%20with%20PyTest/badge.svg )] ( https://github.com/jxmorris12/language_tool_python/actions )
6- [ ![ Coverage Status] ( https://raw.githubusercontent.com/ jxmorris12/language_tool_python/master/coverage- badge.svg )] ( https://github.com/ jxmorris12/language_tool_python/actions )
6+ [ ![ Coverage Status] ( https://codecov.io/gh/ jxmorris12/language_tool_python/branch/ master/graph/ badge.svg )] ( https://codecov.io/gh/ jxmorris12/language_tool_python )
77[ ![ Downloads] ( https://img.shields.io/pypi/dw/language-tool-python )] ( https://pypistats.org/packages/language-tool-python )
88[ ![ License: GPL v3] ( https://img.shields.io/badge/License-GPLv3-blue.svg )] ( LICENSE )
99[ ![ Contributions Welcome] ( https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat )] ( https://github.com/jxmorris12/language_tool_python/pulls )
Load diff This file was deleted.
You can’t perform that action at this time.
0 commit comments