Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pcolby/tap-summary
GitHub Action for summarising TAP (Test Anything Protocol) test results
https://github.com/pcolby/tap-summary
markdown-generator qttest tap test-anything-protocol
Last synced: 14 days ago
JSON representation
GitHub Action for summarising TAP (Test Anything Protocol) test results
- Host: GitHub
- URL: https://github.com/pcolby/tap-summary
- Owner: pcolby
- License: mit
- Created: 2022-07-22T11:30:34.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-10T09:47:47.000Z (21 days ago)
- Last Synced: 2025-01-10T09:52:35.292Z (21 days ago)
- Topics: markdown-generator, qttest, tap, test-anything-protocol
- Language: Awk
- Homepage:
- Size: 267 KB
- Stars: 9
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# TAP Summary
[![Automatic Tests](https://github.com/pcolby/tap-summary/actions/workflows/test.yaml/badge.svg?branch=main)](
https://github.com/pcolby/pcolby/tap-summary/actions/workflows/test.yaml)GitHub Action for summarising [TAP] (Test Anything Protocol) test results. It
summarises a collection of TAP files (such a produced by Qt Tests), and writes the
result as a Markdown table to the GitHub step summary by default, or some other
destination file if overridden.## Usage
```yaml
- uses: pcolby/tap-summary@v1
```Note, this will use a default [`path`](#path) of `**/*.tap`, which depends on Bash's
globstar support, which is not available on macOS's default Bash (which is really
old). For macOS, either provide paths that don't depend on globstar, or upgrade Bash
(eg via `brew`). This is not necessary for Linux and Windows.## Inputs
### `path`
One or more paths to [TAP] files. This will undergo Bash expansion, so things like
environment variables can be used, and must be quoted or escaped as appropriate.Defaults to `**/*.tap`.
```yaml
- uses: pcolby/tap-summary@v1
with:
path: >-
path/to/tap-file
'path/to a file with spaces.tap'
path/with/globstar/**/*.tap
summary-file: path/to/output/file.md
```### `summary-file`
The file to append the test summary to. Defaults to `$GITHUB_STEP_SUMMARY`.
```yaml
- uses: pcolby/tap-summary@v1
with:
summary-file: path/to/output/file.md
```## Outputs
### `summary-file`
The file the test summary was appended to. This is mostly just for automated tests,
where it allows the invoking workflow job to check the summary output when the
input `summary-file` is defaulted.[TAP]: https://testanything.org/ "Test Anything Protocol"