Skip to content

Commit

Permalink
Update status badge
Browse files Browse the repository at this point in the history
  • Loading branch information
Spacetown committed Aug 16, 2024
1 parent 453594f commit dd250e5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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.
Expand All @@ -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'
Expand Down Expand Up @@ -233,7 +232,6 @@ jobs:
- name: Download distribution files
uses: actions/download-artifact@v4
with:
path: dist
pattern: dist

- name: List distribution files
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/gcovr-ci-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dd250e5

Please sign in to comment.