An open API service indexing awesome lists of open source software.

https://github.com/wazzaps/test-viewer

Display your GitHub Actions' test results
https://github.com/wazzaps/test-viewer

ci github-actions junit testing

Last synced: about 2 months ago
JSON representation

Display your GitHub Actions' test results

Awesome Lists containing this project

README

          

# Test Viewer for GitHub

[Website](https://test-viewer.wazzaps.net) | [Documentation](https://github.com/wazzaps/test-viewer/wiki)

## What

Display (junit.xml) test results from GitHub Actions with a nice UI.

## Why

GitHub doesn't have a native way to display test results, and the [workarounds](https://github.com/dorny/test-reporter) are not very good.

## How

Using the GitHub API we fetch the artifacts for a given workflow run, look through the zip file for .xml files, and parse them into a simple UI.

## Development

```shell
curl https://mise.run | sh
mise trust && mise install
pnpm install
pnpm run dev
```

## Deployment to Cloudflare Workers

Change:

- `secrets_store_secrets` and `routes` in `wrangler.jsonc`
- `GITHUB_CLIENT_ID` in `src/config.ts`
- `WHITELISTED_REDIRECT_URIS` in `worker/githubAuth.ts`

```shell
pnpm run deploy
```