Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ jobs:
timeout-minutes: 20
name: Test on ${{ matrix.os }} Python ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
permissions:
contents: read
id-token: write # Required for Codecov OIDC authentication
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -51,12 +54,20 @@ jobs:
- name: Clone repository
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # 6.0.3
with:
persist-credentials: false
persist-credentials: true # Required for Codecov OIDC authentication

- name: Test with pytest
run: |
uv run --python ${{ matrix.python-version }} --group tests --locked pytest

- name: Upload coverage to Codecov
if: matrix.os == 'ubuntu-26.04' && matrix.python-version == '3.14'
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
with:
use_oidc: true
files: ./coverage.xml
fail_ci_if_error: false

lint:
timeout-minutes: 10
name: Lint with Ruff
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[![language tool python on pypi](https://img.shields.io/pypi/v/language-tool-python)](https://pypi.org/project/language-tool-python/)
[![Documentation Status](https://readthedocs.org/projects/language-tool-python/badge/?version=latest)](https://language-tool-python.readthedocs.io/en/latest/)
[![Test with PyTest](https://github.com/jxmorris12/language_tool_python/workflows/Test%20with%20PyTest/badge.svg)](https://github.com/jxmorris12/language_tool_python/actions)
[![Coverage Status](https://raw.githubusercontent.com/jxmorris12/language_tool_python/master/coverage-badge.svg)](https://github.com/jxmorris12/language_tool_python/actions)
[![Coverage Status](https://codecov.io/gh/jxmorris12/language_tool_python/branch/master/graph/badge.svg)](https://codecov.io/gh/jxmorris12/language_tool_python)
[![Downloads](https://img.shields.io/pypi/dw/language-tool-python)](https://pypistats.org/packages/language-tool-python)
[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](LICENSE)
[![Contributions Welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/jxmorris12/language_tool_python/pulls)
Expand Down
1 change: 0 additions & 1 deletion coverage-badge.svg

This file was deleted.

Loading