diff --git a/.codecov.yml b/.codecov.yml index 66d13b63b..840837630 100644 --- a/.codecov.yml +++ b/.codecov.yml @@ -2,7 +2,7 @@ codecov: notify: - after_n_builds: 2 # The number of test matrix+lint jobs uploading coverage + after_n_builds: 1 # The number of test matrix+lint jobs uploading coverage wait_for_ci: false require_ci_to_pass: false @@ -21,9 +21,6 @@ coverage: target: 95% flags: - pytest - typing: - flags: - - MyPy project: lib: flags: @@ -37,10 +34,6 @@ coverage: paths: - tests/ target: 100% - typing: - flags: - - MyPy - target: 40% github_checks: annotations: false diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index cdffe12bf..2457650df 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -106,8 +106,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 diff --git a/.github/workflows/reusable-linters.yml b/.github/workflows/reusable-linters.yml index f45495ffc..3cea0d741 100644 --- a/.github/workflows/reusable-linters.yml +++ b/.github/workflows/reusable-linters.yml @@ -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 @@ -60,18 +56,17 @@ jobs: - name: Run linters run: | make lint - - name: Send coverage data to Codecov - uses: codecov/codecov-action@v5 + - 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.13/cobertura.xml, - .tox/.tmp/.mypy/python-3.11/cobertura.xml, - .tox/.tmp/.mypy/python-3.9/cobertura.xml - flags: >- - CI-GHA, - MyPy - fail_ci_if_error: true + .tox/.tmp/.mypy/python-3.13/cobertura.xml + .tox/.tmp/.mypy/python-3.11/cobertura.xml + flag-name: MyPy + format: cobertura + measure: ${{ runner.debug == 1 && true || false }} - name: Install spell checker run: | pip install -r requirements/doc.txt diff --git a/CHANGES/1122.contrib.rst b/CHANGES/1122.contrib.rst new file mode 100644 index 000000000..aa700103e --- /dev/null +++ b/CHANGES/1122.contrib.rst @@ -0,0 +1,6 @@ +The type preciseness coverage report generated by `MyPy +`__ is now uploaded to `Coveralls +`__ and +will not be included in the `Codecov views +`__ going forward +-- by :user:`webknjaz`. diff --git a/CHANGES/1231.contrib.rst b/CHANGES/1231.contrib.rst new file mode 120000 index 000000000..b0b6a8ef6 --- /dev/null +++ b/CHANGES/1231.contrib.rst @@ -0,0 +1 @@ +1122.contrib.rst \ No newline at end of file