TestBeats Publish
ActionsGitHub Action for testbeats publish command.
Read more about the project at https://testbeats.com
Below is an example of Testbeats action in a workflow file. To include the
action in a workflow, you can use the uses
syntax with the @
symbol to
reference a specific branch, tag, or commit hash.
# .github/workflows/testbeats.yml
# This workflow will publish test results to slack
steps:
- name: Checkout
id: checkout
uses: actions/checkout@v4
- name: Install Dependencies
id: npm-ci
run: npm ci
- name: Test
id: npm-ci-test
run: npm run test
- name: TestBeats Publish
uses: test-results-reporter/publish@v1
with:
config: .testbeats.json # TestBeats configuration file path
# .github/workflows/testbeats.yml
# This workflow will publish test results to slack including CI info and chart test summary
steps:
- name: Checkout
id: checkout
uses: actions/checkout@v4
- name: Install Dependencies
id: npm-ci
run: npm ci
- name: Test
id: npm-ci-test
run: npm run test
- name: TestBeats Publish
uses: test-results-reporter/publish@v1
with:
slack: ${{ secrets.SLACK_WEBHOOK_URL }}
mocha: ./test/mocha/results.xml
ci-info: true
chart-test-summary: true
# .github/workflows/testbeats.yml
# This workflow will publish test results to TestBeats
steps:
- name: Checkout
id: checkout
uses: actions/checkout@v4
- name: Install Dependencies
id: npm-ci
run: npm ci
- name: Test
id: npm-ci-test
run: npm run test
- name: TestBeats Publish
uses: test-results-reporter/publish@v1
with:
slack: ${{ secrets.SLACK_WEBHOOK_URL }}
mocha: ./test/mocha/results.xml
api-key: ${{ secrets.TESTBEATS_API_KEY }}
project: ${{ github.repository }} # Optional
run: ${{ github.branch_name }} # Optional
Like this project! ⭐ Star it on Github and follow on Twitter. Your support means a lot to us.
If you've ever wanted to contribute to open source, and a great cause, now is your chance! See the contributing docs for more information.
Thanks to all the people who contribute.
TestBeats Publish is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.
About
TestBeats Publish is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.