From dd250e510f1e17c53c95f02b87505f79e9351364 Mon Sep 17 00:00:00 2001 From: Spacetown <40258682+spacetown@users.noreply.github.com> Date: Fri, 16 Aug 2024 10:06:43 +0200 Subject: [PATCH] Update status badge --- .github/workflows/CI.yml | 6 ++---- .github/workflows/gcovr-ci-job.yml | 8 ++++---- README.rst | 4 ++-- 3 files changed, 8 insertions(+), 10 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 8427e02c15..56d4376ad9 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -82,7 +82,7 @@ jobs: os: ${{ matrix.os }} gcc: ${{ matrix.gcc }} python-version: ${{ matrix.python-version }} - upload-wheel: ${{ matrix.upload-wheel || false }} # Explicit set to false if not set + upload-dist: ${{ matrix.upload-dist || false }} # Explicit set to false if not set upload-app: ${{ matrix.upload-app || false }} # Explicit set to false if not set secrets: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} @@ -118,7 +118,7 @@ jobs: - os: ubuntu-22.04 gcc: gcc-11 python-version: '3.12' - upload-wheel: true + upload-dist: true upload-app: true # Test minimum and maximum Python version on Windows. @@ -134,7 +134,6 @@ jobs: - os: macos-12 gcc: gcc python-version: '3.12' - upload-app: true - os: macos-13 gcc: gcc python-version: '3.12' @@ -233,7 +232,6 @@ jobs: - name: Download distribution files uses: actions/download-artifact@v4 with: - path: dist pattern: dist - name: List distribution files diff --git a/.github/workflows/gcovr-ci-job.yml b/.github/workflows/gcovr-ci-job.yml index 4d1859f5c3..667d9f9231 100644 --- a/.github/workflows/gcovr-ci-job.yml +++ b/.github/workflows/gcovr-ci-job.yml @@ -20,9 +20,9 @@ on: type: string description: 'The Python version to use' required: false # Only needed if not in container - upload-wheel: + upload-dist: type: boolean - description: 'Upload the wheel file' + description: 'Upload the distribution' default: false upload-app: type: boolean @@ -146,8 +146,8 @@ jobs: run: | nox --non-interactive${{ inputs.container && format(' --session "docker_run_compiler({0})" --', inputs.gcc) || '' }} --session build_wheel - - name: Upload wheel - if: ${{ inputs.upload-wheel == true }} + - name: Upload distribution + if: ${{ inputs.upload-dist == true }} uses: actions/upload-artifact@v4 with: name: dist diff --git a/README.rst b/README.rst index 454c10134c..7eda5f9b69 100644 --- a/README.rst +++ b/README.rst @@ -143,8 +143,8 @@ Example HTML details: .. _documentation: website_ .. _repo: https://github.com/gcovr/gcovr/ .. _bugtracker: https://github.com/gcovr/gcovr/issues -.. |GitHub-Actions-badge| image:: https://github.com/gcovr/gcovr/actions/workflows/test.yml/badge.svg?event=push - :target: https://github.com/gcovr/gcovr/actions/workflows/test.yml?query=branch%3Amain+event%3Apush +.. |GitHub-Actions-badge| image:: https://github.com/gcovr/gcovr/actions/workflows/CI.yml/badge.svg?event=push + :target: https://github.com/gcovr/gcovr/actions/workflows/CI.yml?query=branch%3Amain+event%3Apush :alt: GitHub Actions build status .. |pypi-badge| image:: https://img.shields.io/pypi/v/gcovr.svg :target: https://pypi.python.org/pypi/gcovr