Skip to content

evetest-pr: fix invalid failure() in step env - #6988

Merged
rene merged 1 commit into
lf-edge:masterfrom
milan-zededa:evetest-ci-fix-failure-env
Oct 30, 2026
Merged

rene merged 1 commit into
lf-edge:masterfrom
milan-zededa:evetest-ci-fix-failure-env

Conversation

@milan-zededa

@milan-zededa milan-zededa commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

Description

PR #6975 put failure() in a step-level env: value of the
evetest-run-suite composite action. Status functions are only allowed in
if: conditions, so the runner rejects the action at load time:

action.yml (Line: 383, Col: 21): Unrecognized function: 'failure'.

Every workflow using the action fails before running any test. Derive the
comment-minimize classifier from job.status in the shell instead.

How to test and validate this PR

Run any evetest suite workflow that uses evetest-run-suite with
analyze-failures enabled and a PR number:

  • The action loads and the suite runs.
  • On a passing run, the previous analysis comment of that suite is minimized
    as RESOLVED.
  • On a failing run, it is minimized as OUTDATED.

Changelog notes

None. CI tooling only.

PR Backports

The evetest CI workflow files will be backported as a whole once confirmed
to work reliably.

Checklist

  • I've provided a proper description

  • I've added the proper documentation

  • I've tested my PR on amd64 device

  • I've tested my PR on arm64 device

  • I've written the test verification instructions

  • I've set the proper labels to this PR

  • I've checked the boxes above, or I've provided a good reason why I didn't
    check them.

Unchecked items do not apply: this is a CI-only change with no device impact.

🤖 Generated with Claude Code

Status functions are only allowed in if: conditions, so the runner
rejected the composite action at load time. Derive the minimize
classifier from job.status in the shell instead.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Signed-off-by: Milan Lenco <milan@zededa.com>
@github-actions
github-actions Bot requested a review from europaul October 30, 2026 15:06
@milan-zededa milan-zededa added the testing New test or test framework changes label Oct 30, 2026
@rene
rene merged commit a12ab60 into lf-edge:master Oct 30, 2026
40 of 41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

testing New test or test framework changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants