Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
Merge pull request #2 from im-open/fix-readme-refs
Browse files Browse the repository at this point in the history
Correcting references in README from EnricoMi to im-open
  • Loading branch information
JosephDSchwartz authored Sep 15, 2023
2 parents d407883 + 41aec7b commit c110ec2
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# GitHub Action to Publish Test Results

[![CI/CD](https://github.com/EnricoMi/publish-unit-test-result-action/actions/workflows/ci-cd.yml/badge.svg)](https://github.com/EnricoMi/publish-unit-test-result-action/actions/workflows/ci-cd.yml)
[![GitHub release badge](https://badgen.net/github/release/EnricoMi/publish-unit-test-result-action/stable)](https://github.com/EnricoMi/publish-unit-test-result-action/releases/latest)
[![CI/CD](https://github.com/im-open/publish-unit-test-result-action/actions/workflows/ci-cd.yml/badge.svg)](https://github.com/im-open/publish-unit-test-result-action/actions/workflows/ci-cd.yml)
[![GitHub release badge](https://badgen.net/github/release/im-open/publish-unit-test-result-action/stable)](https://github.com/im-open/publish-unit-test-result-action/releases/latest)
[![GitHub license badge](misc/badge-license.svg)](http://www.apache.org/licenses/LICENSE-2.0)
[![GitHub Workflows badge](https://gist.github.com/EnricoMi/612cb538c14731f1a8fefe504f519395/raw/workflows.svg)](https://github.com/search?q=publish-unit-test-result-action+path%3A.github%2Fworkflows%2F+language%3AYAML+language%3AYAML&type=Code&l=YAML)
[![Docker pulls badge](https://gist.github.com/EnricoMi/612cb538c14731f1a8fefe504f519395/raw/downloads.svg)](https://github.com/users/EnricoMi/packages/container/package/publish-unit-test-result-action)
[![GitHub Workflows badge](https://gist.github.com/im-open/612cb538c14731f1a8fefe504f519395/raw/workflows.svg)](https://github.com/search?q=publish-unit-test-result-action+path%3A.github%2Fworkflows%2F+language%3AYAML+language%3AYAML&type=Code&l=YAML)
[![Docker pulls badge](https://gist.github.com/im-open/612cb538c14731f1a8fefe504f519395/raw/downloads.svg)](https://github.com/users/im-open/packages/container/package/publish-unit-test-result-action)

![Ubuntu badge](misc/badge-ubuntu.svg)
![macOS badge](misc/badge-macos.svg)
Expand All @@ -17,7 +17,7 @@
![Mocha badge](misc/badge-mocha.svg)


[![Test Results](https://gist.githubusercontent.com/EnricoMi/612cb538c14731f1a8fefe504f519395/raw/tests.svg)](https://gist.githubusercontent.com/EnricoMi/612cb538c14731f1a8fefe504f519395/raw/tests.svg)
[![Test Results](https://gist.githubusercontent.com/im-open/612cb538c14731f1a8fefe504f519395/raw/tests.svg)](https://gist.githubusercontent.com/im-open/612cb538c14731f1a8fefe504f519395/raw/tests.svg)

This [GitHub Action](https://github.com/actions) analyses test result files and
publishes the results on GitHub. It supports [JSON (Dart, Mocha), TRX (MSTest, VS) and XML (JUnit, NUnit, XUnit) file formats](#generating-test-result-files),
Expand All @@ -27,7 +27,7 @@ You can add this action to your GitHub workflow for ![Ubuntu Linux](https://badg

```yaml
- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action@v2
uses: im-open/publish-unit-test-result-action@v1.0.0
if: always()
with:
files: |
Expand All @@ -41,7 +41,7 @@ and ![Windows](https://badgen.net/badge/icon/Windows?icon=windows&label) (e.g. `

```yaml
- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action/composite@v2
uses: im-open/publish-unit-test-result-action/composite@v2
if: always()
with:
files: |
Expand Down Expand Up @@ -326,7 +326,7 @@ The `json` output of the action can be accessed through the expression `steps.<i

```yaml
- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action@v2
uses: im-open/publish-unit-test-result-action@v1.0.0
id: test-results
if: always()
with:
Expand All @@ -340,7 +340,7 @@ Here is an example JSON:
```json
{
"title": "4 parse errors, 4 errors, 23 fail, 18 skipped, 227 pass in 39m 12s",
"summary": "  24 files  ±0      4 errors  21 suites  ±0   39m 12s [:stopwatch:](https://github.com/EnricoMi/publish-unit-test-result-action/blob/v2.6.1/README.md#the-symbols \"duration of all tests\") ±0s\n272 tests ±0  227 [:heavy_check_mark:](https://github.com/EnricoMi/publish-unit-test-result-action/blob/v2.6.1/README.md#the-symbols \"passed tests\") ±0  18 [:zzz:](https://github.com/EnricoMi/publish-unit-test-result-action/blob/v2.6.1/README.md#the-symbols \"skipped / disabled tests\") ±0  23 [:x:](https://github.com/EnricoMi/publish-unit-test-result-action/blob/v2.6.1/README.md#the-symbols \"failed tests\") ±0  4 [:fire:](https://github.com/EnricoMi/publish-unit-test-result-action/blob/v2.6.1/README.md#the-symbols \"test errors\") ±0 \n437 runs  ±0  354 [:heavy_check_mark:](https://github.com/EnricoMi/publish-unit-test-result-action/blob/v2.6.1/README.md#the-symbols \"passed tests\") ±0  53 [:zzz:](https://github.com/EnricoMi/publish-unit-test-result-action/blob/v2.6.1/README.md#the-symbols \"skipped / disabled tests\") ±0  25 [:x:](https://github.com/EnricoMi/publish-unit-test-result-action/blob/v2.6.1/README.md#the-symbols \"failed tests\") ±0  5 [:fire:](https://github.com/EnricoMi/publish-unit-test-result-action/blob/v2.6.1/README.md#the-symbols \"test errors\") ±0 \n\nResults for commit 11c02e56. ± Comparison against earlier commit d8ce4b6c.\n",
"summary": "  24 files  ±0      4 errors  21 suites  ±0   39m 12s [:stopwatch:](https://github.com/im-open/publish-unit-test-result-action/blob/v1.0.0/README.md#the-symbols \"duration of all tests\") ±0s\n272 tests ±0  227 [:heavy_check_mark:](https://github.com/im-open/publish-unit-test-result-action/blob/v1.0.0/README.md#the-symbols \"passed tests\") ±0  18 [:zzz:](https://github.com/im-open/publish-unit-test-result-action/blob/v1.0.0/README.md#the-symbols \"skipped / disabled tests\") ±0  23 [:x:](https://github.com/im-open/publish-unit-test-result-action/blob/v1.0.0/README.md#the-symbols \"failed tests\") ±0  4 [:fire:](https://github.com/im-open/publish-unit-test-result-action/blob/v1.0.0/README.md#the-symbols \"test errors\") ±0 \n437 runs  ±0  354 [:heavy_check_mark:](https://github.com/im-open/publish-unit-test-result-action/blob/v1.0.0/README.md#the-symbols \"passed tests\") ±0  53 [:zzz:](https://github.com/im-open/publish-unit-test-result-action/blob/v1.0.0/README.md#the-symbols \"skipped / disabled tests\") ±0  25 [:x:](https://github.com/im-open/publish-unit-test-result-action/blob/v1.0.0/README.md#the-symbols \"failed tests\") ±0  5 [:fire:](https://github.com/im-open/publish-unit-test-result-action/blob/v1.0.0/README.md#the-symbols \"test errors\") ±0 \n\nResults for commit 11c02e56. ± Comparison against earlier commit d8ce4b6c.\n",
"conclusion": "success",
"stats": {
"files": 24,
Expand Down Expand Up @@ -369,7 +369,7 @@ Here is an example JSON:
"reference_type": "earlier",
"reference_commit": "d8ce4b6c62ebfafe1890c55bf7ea30058ebf77f2"
},
"check_url": "https://github.com/EnricoMi/publish-unit-test-result-action/runs/5397876970",
"check_url": "https://github.com/im-open/publish-unit-test-result-action/runs/5397876970",
"formatted": {
"stats": {
"duration": "2 352",
Expand Down Expand Up @@ -538,7 +538,7 @@ jobs:
path: artifacts
- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action@v2
uses: im-open/publish-unit-test-result-action@v1.0.0
with:
files: "artifacts/**/*.xml"
```
Expand Down Expand Up @@ -650,7 +650,7 @@ jobs:
path: artifacts
- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action@v2
uses: im-open/publish-unit-test-result-action@v1.0.0
with:
commit: ${{ github.event.workflow_run.head_sha }}
event_file: artifacts/Event File/event.json
Expand Down Expand Up @@ -683,7 +683,7 @@ Add the event name to `check_name` to avoid different event types overwriting ea

```yaml
- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action@v2
uses: im-open/publish-unit-test-result-action@v1.0.0
if: always()
with:
check_name: "Test Results (${{ github.event.workflow_run.event || github.event_name }})"
Expand All @@ -696,7 +696,7 @@ Disabling the pull request comment mode (`"off"`) for events other than `pull_re

```yaml
- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action@v2
uses: im-open/publish-unit-test-result-action@v1.0.0
if: always()
with:
# set comment_mode to "always" for pull_request event, set to "off" for all other event types
Expand All @@ -708,7 +708,7 @@ Disabling the pull request comment mode (`"off"`) for events other than `pull_re
## Create a badge from test results

Here is an example how to use the [JSON](#json-result) output of this action to create a badge like this:
[![Test Results](https://gist.githubusercontent.com/EnricoMi/612cb538c14731f1a8fefe504f519395/raw/badge.svg)](https://gist.githubusercontent.com/EnricoMi/612cb538c14731f1a8fefe504f519395/raw/badge.svg)
[![Test Results](https://gist.githubusercontent.com/im-open/612cb538c14731f1a8fefe504f519395/raw/badge.svg)](https://gist.githubusercontent.com/im-open/612cb538c14731f1a8fefe504f519395/raw/badge.svg)

<details>
<summary>Example workflow YAML</summary>
Expand All @@ -717,7 +717,7 @@ Here is an example how to use the [JSON](#json-result) output of this action to
steps:
- …
- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action@v2
uses: im-open/publish-unit-test-result-action@v1.0.0
id: test-results
if: always()
with:
Expand Down Expand Up @@ -827,7 +827,7 @@ publish-test-results:
path: artifacts
- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action/composite@v2
uses: im-open/publish-unit-test-result-action/composite@v2
with:
files: "artifacts/**/*.xml"
```
Expand All @@ -836,4 +836,4 @@ publish-test-results:
## Credits

The initial GitHub action has been created by [EnricoMi](https://github.com/EnricoMi) at
[EnricoMi/publish-unit-test-result-action](https://github.com/EnricoMi/publish-unit-test-result-action).
[EnricoMi/publish-unit-test-result-action](https://github.com/EnricoMi/publish-unit-test-result-action).

0 comments on commit c110ec2

Please sign in to comment.