Skip to content

softwareone-platform/notify-tests-teams-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Notify Tests to Microsoft Teams

License

This GitHub Action sends test execution results to a Microsoft Teams channel. It provides detailed information about test runs, including pass/fail statistics, test suite details, and environment information.

🚀 Features

  • Sends a Microsoft Teams Adaptive Card with test results
  • Displays test suite name, environment details (OS, browser)
  • Shows test statistics (passed, failed, flaky tests)
  • Provides link to download test artifacts
  • Easily reusable across repositories

📦 Usage

Step 1: Add to Your Workflow

- name: Notify Microsoft Teams
  uses: your-org/notify-tests-teams-action@v1
  with:
    webhook_url: ${{ secrets.TEAMS_WEBHOOK_URL }}
    bot_image_url: https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png
    repo: ${{ github.repository }}
    suite_name: "E2E Tests"
    gitref: ${{ github.ref }}
    os: ${{ runner.os }}
    browser: "Chrome"
    passed: ${{ steps.test.outputs.passed }}
    failed: ${{ steps.test.outputs.failed }}
    flaky: ${{ steps.test.outputs.flaky }}
    gh_action_url: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}

About

Github Action for sending tests result notification to MSTeams

Resources

License

Stars

Watchers

Forks

Packages

No packages published