Skip to content

Commit

Permalink
build: rename since coverage is only collected for changed packages.
Browse files Browse the repository at this point in the history
In contrast to the workflows to run examples, benchmarks, and tests for
all packages affected by the changes in a PR or push, the workflow to
collect coverage is only run for the changed packages themselves. This
renaming makes this clearer.
  • Loading branch information
Planeshifter committed Jul 26, 2023
1 parent 91a3e28 commit d27583e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#/

# Workflow name:
name: run_affected_tests_coverage.yml
name: run_tests_coverage.yml

# Workflow triggers:
on:
Expand Down Expand Up @@ -48,7 +48,7 @@
workflow_dispatch:
inputs:
directories:
description: 'List of changed directories for which to run affected tests (space separated):'
description: 'List of changed directories for which to run tests (space separated):'

# Workflow jobs:
jobs:
Expand All @@ -57,7 +57,7 @@
coverage:

# Define a display name:
name: 'Calculate test coverage for affected packages'
name: 'Calculate test coverage for packages'

# Define the type of virtual host machine:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -133,7 +133,7 @@
else
directories="${{ steps.changed-directories.outputs.directories }}"
fi
. "$GITHUB_WORKSPACE/.github/workflows/scripts/run_affected_tests_coverage" "$directories"
. "$GITHUB_WORKSPACE/.github/workflows/scripts/run_tests_coverage" "$directories"
timeout-minutes: 30

# Extract coverage values and assign to output:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

# Script to calculate package test coverage for a given list of changed files.
#
# Usage: run_affected_tests_coverage file1 [file2 file3 ...]
# Usage: run_tests_coverage file1 [file2 file3 ...]
#
# Arguments:
#
Expand Down

0 comments on commit d27583e

Please sign in to comment.