Skip to content

Conversation

eugene123tw
Copy link
Contributor

Summary

This PR monitors our daily integration test workflow by automatically creating a GitHub issue when test failures occur.

Changes:

  • Integration test exit status is now captured and evaluated.
  • If tests fail, an issue is automatically created using the peter-evans/create-issue-from-file action.
  • The issue includes test output logs and is assigned to designated reviewers.
  • Artifact upload of test_output.log for debugging.

How to test

Checklist

  • I have added unit tests to cover my changes.​
  • I have added integration tests to cover my changes.​
  • I have ran e2e tests and there is no issues.
  • I have added the description of my changes into CHANGELOG in my target branch (e.g., CHANGELOG in develop).​
  • I have updated the documentation in my target branch accordingly (e.g., documentation in develop).
  • I have linked related issues.

License

  • I submit my code changes under the same Apache License that covers the project.
    Feel free to contact the maintainers if that's a concern.
  • I have updated the license header for each file (see an example below).
# Copyright (C) 2025 Intel Corporation
# SPDX-License-Identifier: Apache-2.0


- name: Create Issue if Tests Fail
if: steps.run_tests.outputs.exit_code != '0'
uses: peter-evans/create-issue-from-file@v4
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please pin to a specific hash, maybe we can use the latest version.

Suggested change
uses: peter-evans/create-issue-from-file@v4
uses: peter-evans/create-issue-from-file@e8ef132d6df98ed982188e460ebb3b5d4ef3a9cd # v5.0.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants