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
6 changes: 1 addition & 5 deletions .codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

codecov:
notify:
after_n_builds: 20 # The number of test matrix+lint jobs uploading coverage
after_n_builds: 19 # The number of test matrix+lint jobs uploading coverage
wait_for_ci: false

require_ci_to_pass: false
Expand Down Expand Up @@ -40,9 +40,5 @@ coverage:
paths:
- tests/
target: 98.2% # 100%
typing:
flags:
- MyPy
target: 77.5% # 100%

...
2 changes: 0 additions & 2 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,6 @@ jobs:

lint:
uses: ./.github/workflows/reusable-linters.yml
secrets:
codecov-token: ${{ secrets.CODECOV_TOKEN }}

build-wheels-for-tested-arches:
name: >- # ${{ '' } is a hack to nest jobs under the same sidebar category
Expand Down
18 changes: 7 additions & 11 deletions .github/workflows/reusable-linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ name: Linters

on:
workflow_call:
secrets:
codecov-token:
description: Mandatory token for uploading to Codecov
required: true

env:
COLOR: >- # Supposedly, pytest or coveragepy use this
Expand Down Expand Up @@ -66,16 +62,16 @@ jobs:
- name: Run linters
run: |
make lint
- name: Send coverage data to Codecov
uses: codecov/codecov-action@v6
- name: Send coverage data to Coveralls
uses: coverallsapp/github-action@v2
with:
token: ${{ secrets.codecov-token }}
debug: ${{ runner.debug == '1' && true || false }}
fail-on-error: ${{ runner.debug == '1' && false || true }}
files: >-
.tox/.tmp/.mypy/python-3.11/cobertura.xml
flags: >-
CI-GHA,
MyPy
fail_ci_if_error: true
flag-name: MyPy
format: cobertura
measure: ${{ runner.debug == '1' && true || false }}
- name: Install spell checker
run: |
pip install -r requirements/doc-spelling.txt
Expand Down
6 changes: 6 additions & 0 deletions CHANGES/239.contrib.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
The type preciseness coverage report generated by `MyPy
<https://mypy-lang.org>`__ is now uploaded to `Coveralls
<https://coveralls.io/github/aio-libs/propcache>`__ and
will not be included in the `Codecov views
<https://app.codecov.io/gh/aio-libs/propcache>`__ going forward
-- by :user:`aiolibsbot`.
Loading