Skip to content

ci: skip test phase if matrix is empty#9197

Merged
waghanza merged 1 commit intothe-benchmarker:developfrom
nakrovati:ci/fix-matrix
Mar 21, 2026
Merged

ci: skip test phase if matrix is empty#9197
waghanza merged 1 commit intothe-benchmarker:developfrom
nakrovati:ci/fix-matrix

Conversation

@nakrovati
Copy link
Copy Markdown
Contributor

@nakrovati nakrovati commented Mar 19, 2026

Add a ‘test’ skip if the matrix is empty.

Currently, if the matrix file is empty (for example, if README.md, Rakefile, or another file that isn't part of a framework has been modified), the ‘test’ stage terminates with the error CI Error when evaluating ‘strategy’ for job ‘test’. .github/workflows/ci.yml (Line: 45, Col: 15): matrix must define at least one vector, the workflow is marked as failed, and an email is sent with the subject [the-benchmarker/web-frameworks] PR run failed: CI - <PR title> (<commit hash>).

@nakrovati nakrovati requested a review from waghanza as a code owner March 19, 2026 02:58
@waghanza waghanza merged commit e6bc587 into the-benchmarker:develop Mar 21, 2026
2 checks passed
@nakrovati nakrovati deleted the ci/fix-matrix branch March 21, 2026 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants