Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: rebrand to testbeats #172

Merged
merged 3 commits into from
Apr 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/assets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@ jobs:
- run: npm run build
- uses: vimtor/action-zip@v1
with:
files: dist/test-results-reporter-linux
dest: dist/test-results-reporter-linux.zip
files: dist/testbeats-linux
dest: dist/testbeats-linux.zip
- uses: vimtor/action-zip@v1
with:
files: dist/test-results-reporter-macos
dest: dist/test-results-reporter-macos.zip
files: dist/testbeats-macos
dest: dist/testbeats-macos.zip
- uses: vimtor/action-zip@v1
with:
files: dist/test-results-reporter-win.exe
dest: dist/test-results-reporter-win.exe.zip
files: dist/testbeats-win.exe
dest: dist/testbeats-win.exe.zip
- name: Upload release binaries
uses: alexellis/upload-assets@0.2.2
env:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,23 @@ on:
pull_request:
paths-ignore:
- 'README.md'
branches:
branches:
- main
push:
paths-ignore:
- 'README.md'
branches:
branches:
- main

jobs:
build:

runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
node-version: [14.x, 16.x, 18.x]
node-version: [18.x, 20.x]

steps:
- uses: actions/checkout@v2
Expand Down
5 changes: 5 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
leelaprasadv marked this conversation as resolved.
Show resolved Hide resolved
"cSpell.words": [
"testbeats"
]
}
29 changes: 14 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
> !IMPORTANT - This npm package has been renamed from [test-results-reporter](https://www.npmjs.com/package/test-results-reporter) to [testbeats](https://www.npmjs.com/package/testbeats). test-results-reporter will soon be phased out, and users are encouraged to transition to testbeats.

<span align="center">

![logo](https://github.com/test-results-reporter/reporter/raw/main/assets/logo.png)
![logo](https://github.com/test-results-reporter/testbeats/raw/main/assets/logo.png)

## Test Results Reporter
leelaprasadv marked this conversation as resolved.
Show resolved Hide resolved

#### Publish test results to Microsoft Teams, Google Chat, Slack and many more.

<br />

![Build](https://github.com/test-results-reporter/reporter/workflows/Build/badge.svg?branch=main)
![Downloads](https://img.shields.io/npm/dt/test-results-reporter?logo=npm)
![Size](https://img.shields.io/bundlephobia/minzip/test-results-reporter)
![Build](https://github.com/test-results-reporter/testbeats/workflows/Build/badge.svg?branch=main)
![Downloads](https://img.shields.io/npm/dt/test-results-reporter?logo=npm&label=downloads-old)
![Downloads](https://img.shields.io/npm/dt/testbeats?logo=npm)
![Size](https://img.shields.io/bundlephobia/minzip/testbeats)

[![Stars](https://img.shields.io/github/stars/test-results-reporter/reporter?style=social)](https://github.com/test-results-reporter/reporter/stargazers)
![Downloads](https://img.shields.io/github/downloads/test-results-reporter/reporter/total?logo=github)
[![Stars](https://img.shields.io/github/stars/test-results-reporter/testbeats?style=social)](https://github.com/test-results-reporter/testbeats/stargazers)
![Downloads](https://img.shields.io/github/downloads/test-results-reporter/testbeats/total?logo=github)

<hr>

Expand All @@ -35,27 +37,24 @@

<br>

![teams-summary-report](https://github.com/test-results-reporter/reporter/raw/main/assets/teams-qc.png)
![teams-summary-report](https://github.com/test-results-reporter/testbeats/raw/main/assets/teams-qc.png)

![slack-summary-report](https://github.com/test-results-reporter/reporter/raw/main/assets/slack-report-portal-analysis.png)
![slack-summary-report](https://github.com/test-results-reporter/testbeats/raw/main/assets/slack-report-portal-analysis.png)

<br />

<hr >

# [Documentation](https://test-results-reporter.github.io/)
# [Documentation](https://test-results-reporter.github.io/)

</span>

<br />

## Need Help

We use [Github Discussions](https://github.com/test-results-reporter/reporter/discussions) to receive feedback, discuss ideas & answer questions. Head over to it and feel free to start a discussion. We are always happy to help 😊.
We use [Github Discussions](https://github.com/test-results-reporter/testbeats/discussions) to receive feedback, discuss ideas & answer questions. Head over to it and feel free to start a discussion. We are always happy to help 😊.

## Support Us

Like this project! Star it on [Github](https://github.com/test-results-reporter/reporter) ⭐. Your support means a lot to us.


<a href="https://www.flaticon.com/free-icons/flask" title="flask icons">Flask icons created by Freepik - Flaticon</a>
Like this project! Star it on [Github](https://github.com/test-results-reporter/testbeats) ⭐. Your support means a lot to us.
Binary file modified assets/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "test-results-reporter",
"version": "1.1.6",
"name": "testbeats",
"version": "2.0.0",
leelaprasadv marked this conversation as resolved.
Show resolved Hide resolved
"description": "Publish test results to Microsoft Teams, Google Chat, Slack and InfluxDB",
"main": "src/index.js",
"types": "./src/index.d.ts",
"bin": {
"test-results-reporter": "src/cli.js"
"testbeats": "src/cli.js"
},
"files": [
"/src"
Expand All @@ -16,7 +16,7 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/test-results-reporter/reporter.git"
"url": "git+https://github.com/test-results-reporter/testbeats.git"
},
"keywords": [
"test",
Expand All @@ -42,7 +42,7 @@
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/test-results-reporter/reporter/issues"
"url": "https://github.com/test-results-reporter/testbeats/issues"
},
"homepage": "https://test-results-reporter.github.io",
"dependencies": {
Expand Down
14 changes: 14 additions & 0 deletions scripts/download-latest.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/usr/bin/env bash

case "$OSTYPE" in
darwin*) file_name=testbeats-macos ;;
linux*) file_name=testbeats-linux ;;
msys*) file_name=testbeats-win.exe ;;
cygwin*) file_name=testbeats-win.exe ;;
*) echo "$OSTYPE OS - Not Supported"; exit 1 ;;
esac

latest_tag=$(curl -s https://api.github.com/repos/test-results-reporter/testbeats/releases/latest | sed -Ene '/^ *"tag_name": *"(v.+)",$/s//\1/p')
curl -JLO https://github.com/test-results-reporter/testbeats/releases/download/${latest_tag}/${file_name}.zip
unzip ${file_name}.zip
chmod +x ${file_name}
6 changes: 3 additions & 3 deletions scripts/download.sh
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#!/usr/bin/env bash

case "$OSTYPE" in
darwin*) file_name=test-results-reporter-macos ;;
darwin*) file_name=test-results-reporter-macos ;;
linux*) file_name=test-results-reporter-linux ;;
msys*) file_name=test-results-reporter-win.exe ;;
cygwin*) file_name=test-results-reporter-win.exe ;;
*) echo "$OSTYPE OS - Not Supported"; exit 1 ;;
esac

latest_tag=$(curl -s https://api.github.com/repos/test-results-reporter/reporter/releases/latest | sed -Ene '/^ *"tag_name": *"(v.+)",$/s//\1/p')
curl -JLO https://github.com/test-results-reporter/reporter/releases/download/${latest_tag}/${file_name}.zip
latest_tag=$(curl -s https://api.github.com/repos/test-results-reporter/testbeats/releases/latest | sed -Ene '/^ *"tag_name": *"(v.+)",$/s//\1/p')
curl -JLO https://github.com/test-results-reporter/testbeats/releases/download/v1.1.6/${file_name}.zip
unzip ${file_name}.zip
chmod +x ${file_name}
Loading