From 594723d4477c901dae73b3f55ad9bca5a3f21658 Mon Sep 17 00:00:00 2001 From: ehennestad Date: Wed, 11 Nov 2026 22:59:05 +0100 Subject: [PATCH] ci: give the check workflows noun names Workflows that report a status are named for what they check, in the file name and the display name: run_tests.yml ("Run tests") becomes tests.yml ("Tests") and run-codespell.yml ("Run Codespell") becomes codespell.yml ("Codespell"), matching code-analysis.yml. Workflows that change something, Prepare toolbox release and Export live scripts, keep their verb names. The README badge and the comment in testToolbox follow the new names. The required checks on main are job names (Test openMINDS_MATLAB (R2022a) and (R2026a)) and do not change. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/{run-codespell.yml => codespell.yml} | 6 +++--- .github/workflows/{run_tests.yml => tests.yml} | 2 +- README.md | 2 +- tools/tasks/testToolbox.m | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) rename .github/workflows/{run-codespell.yml => codespell.yml} (87%) rename .github/workflows/{run_tests.yml => tests.yml} (99%) diff --git a/.github/workflows/run-codespell.yml b/.github/workflows/codespell.yml similarity index 87% rename from .github/workflows/run-codespell.yml rename to .github/workflows/codespell.yml index 4b34412eb..c06faf563 100644 --- a/.github/workflows/run-codespell.yml +++ b/.github/workflows/codespell.yml @@ -1,4 +1,4 @@ -name: Run Codespell +name: Codespell # NB: Will only process "skip" and "ignore-words-list" from the codespell # config file if provided @@ -15,8 +15,8 @@ concurrency: cancel-in-progress: true jobs: - reuse-workflow-run-codespell: - name: Run Codespell + codespell: + name: Codespell uses: ehennestad/matbox-actions/.github/workflows/codespell-workflow.yml@v1 with: # Specify the path of a codespell config file relative to the repository diff --git a/.github/workflows/run_tests.yml b/.github/workflows/tests.yml similarity index 99% rename from .github/workflows/run_tests.yml rename to .github/workflows/tests.yml index ffd6b53a5..8c2618d27 100644 --- a/.github/workflows/run_tests.yml +++ b/.github/workflows/tests.yml @@ -1,4 +1,4 @@ -name: Run tests +name: Tests on: # Triggers the workflow on push to any branch other than main or PR to main diff --git a/README.md b/README.md index 701711710..945fa5bab 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ [![Version Number](https://img.shields.io/github/v/release/openMetadataInitiative/openMINDS_MATLAB?label=version)](https://github.com/openMetadataInitiative/openMINDS_MATLAB/releases/latest) [![Open in MATLAB Online](https://github.com/openMetadataInitiative/openMINDS_MATLAB/blob/gh-badges/.github/badges/open-in-matlab-online.svg)](https://matlab.mathworks.com/open/fileexchange/v1?id=134212) [![View openMINDS_MATLAB on File Exchange](https://github.com/openMetadataInitiative/openMINDS_MATLAB/blob/gh-badges/.github/badges/matlab-file-exchange.svg)](https://se.mathworks.com/matlabcentral/fileexchange/134212-openminds_matlab) -[![Run tests](https://github.com/openMetadataInitiative/openMINDS_MATLAB/actions/workflows/run_tests.yml/badge.svg)](https://github.com/openMetadataInitiative/openMINDS_MATLAB/actions/workflows/run_tests.yml) +[![Tests](https://github.com/openMetadataInitiative/openMINDS_MATLAB/actions/workflows/tests.yml/badge.svg)](https://github.com/openMetadataInitiative/openMINDS_MATLAB/actions/workflows/tests.yml) [![codecov](https://codecov.io/gh/openMetadataInitiative/openMINDS_MATLAB/graph/badge.svg?token=FTD5FHZSFA)](https://codecov.io/gh/openMetadataInitiative/openMINDS_MATLAB) [![Code analysis](https://github.com/openMetadataInitiative/openMINDS_MATLAB/actions/workflows/code-analysis.yml/badge.svg)](https://github.com/openMetadataInitiative/openMINDS_MATLAB/actions/workflows/code-analysis.yml) diff --git a/tools/tasks/testToolbox.m b/tools/tasks/testToolbox.m index 3496b2130..7f4b23ea1 100644 --- a/tools/tasks/testToolbox.m +++ b/tools/tasks/testToolbox.m @@ -28,7 +28,7 @@ function testToolbox(varargin) verbosity = "Concise"; end - % The README shows the Run tests workflow status badge, so no tests + % The README shows the Tests workflow status badge, so no tests % badge is generated from the test results matbox.tasks.testToolbox(... projectRootDirectory, ...