Skip to content

Commit 55e4218

Browse files
authored
Merge pull request #14 from stdedos/test/impr-action+coverage
2 parents 163ac3a + 0b1bb86 commit 55e4218

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

.github/workflows/run-tests.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ on:
44
push:
55
pull_request:
66

7+
concurrency:
8+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
9+
cancel-in-progress: true
10+
711
jobs:
812
test:
913
runs-on: ${{ matrix.os }}
@@ -59,5 +63,13 @@ jobs:
5963
uses: codecov/codecov-action@v3
6064
with:
6165
token: ${{ secrets.CODECOV_TOKEN }}
66+
flags: ${{ matrix.os }},${{ matrix.python-version }}
6267
fail_ci_if_error: true
6368
files: test_artifacts/cobertura.xml
69+
70+
- name: Create artifacts
71+
uses: actions/upload-artifact@v3
72+
if: ${{ !cancelled() }}
73+
with:
74+
name: test-artifacts_${{ matrix.os }}_${{ matrix.python-version }}
75+
path: test_artifacts/

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
![PyPI - Downloads](https://img.shields.io/pypi/dd/pylint-pytest)
55
![PyPI - Version](https://img.shields.io/pypi/v/pylint-pytest)
66
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/pylint-pytest)
7+
[![codecov](https://codecov.io/gh/pylint-dev/pylint-pytest/graph/badge.svg?token=NhZDLKmomd)](https://codecov.io/gh/pylint-dev/pylint-pytest)
78

89
A Pylint plugin to suppress pytest-related false positives.
910

0 commit comments

Comments
 (0)