Skip to content

Commit 4730efa

Browse files
committed
Removing coveralls as it causes version constraint issues and there is only one test anyway
1 parent f919e92 commit 4730efa

File tree

6 files changed

+120
-370
lines changed

6 files changed

+120
-370
lines changed

.github/workflows/ci.yaml

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -148,50 +148,6 @@ jobs:
148148
name: coverage-${{ matrix.python-version }}
149149
path: .coverage
150150

151-
coverage:
152-
name: Process test coverage
153-
runs-on: ubuntu-latest
154-
needs: ["prepare-tests-linux", "pytest-linux"]
155-
strategy:
156-
matrix:
157-
python-version: ["3.13"]
158-
env:
159-
COVERAGERC_FILE: .coveragerc
160-
steps:
161-
- name: Check out code from GitHub
162-
uses: actions/checkout@v3
163-
- name: Set up Python ${{ matrix.python-version }}
164-
id: python
165-
uses: actions/setup-python@v4
166-
with:
167-
python-version: ${{ matrix.python-version }}
168-
- name: Restore Python virtual environment
169-
id: cache-venv
170-
uses: actions/cache@v3
171-
with:
172-
path: venv
173-
key:
174-
${{ runner.os }}-${{ steps.python.outputs.python-version }}-${{
175-
needs.prepare-tests-linux.outputs.python-key }}
176-
- name: Fail job if Python cache restore failed
177-
if: steps.cache-venv.outputs.cache-hit != 'true'
178-
run: |
179-
echo "Failed to restore Python venv from cache"
180-
exit 1
181-
- name: Download all coverage artifacts
182-
uses: actions/[email protected]
183-
- name: Combine coverage results
184-
run: |
185-
. venv/bin/activate
186-
coverage combine coverage*/.coverage
187-
coverage report --rcfile=${{ env.COVERAGERC_FILE }}
188-
- name: Upload coverage to Coveralls
189-
env:
190-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
191-
run: |
192-
. venv/bin/activate
193-
coveralls --rcfile=${{ env.COVERAGERC_FILE }} --service=github
194-
195151
prepare-tests-windows:
196152
name: Prepare tests for Python ${{ matrix.python-version }} (Windows)
197153
runs-on: windows-latest

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ htmlcov
3838
.pydevproject
3939
.pylint-plugin-utils
4040
.idea
41+
*.swp
4142

4243
.venv
4344
env.txt

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
## Status
44

55
[![Build Status](https://github.com/PyCQA/pylint-plugin-utils/actions/workflows/ci.yaml/badge.svg?branch=master)](https://github.com/PyCQA/pylint-plugin-utils/actions)
6-
[![Coverage Status](https://coveralls.io/repos/github/PyCQA/pylint-plugin-utils/badge.svg?branch=master)](https://coveralls.io/github/PyCQA/pylint-plugin-utils?branch=master)
76
[![Code Style](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)
87
[![Pypi Package version](https://img.shields.io/pypi/v/pylint-plugin-utils.svg)](https://pypi.python.org/pypi/pylint-plugin-utils)
98

@@ -26,12 +25,12 @@ pip install tox pytest
2625

2726
To run the test suite for a particular Python version, you can do:
2827
```bash
29-
tox -e py38
28+
tox -e py39
3029
```
3130

3231
To run individual tests with ``tox``, you can do:
3332
```bash
34-
tox -e py38 -- -k test_linter_should_be_pickleable
33+
tox -e py39 -- -k test_linter_should_be_pickleable
3534
```
3635

3736
We use ``pytest`` for testing ``pylint``, which you can use without using ``tox`` for a faster development cycle.

0 commit comments

Comments
 (0)