https://github.com/afiore/action-allure-report
Github action to generate an Allure report
https://github.com/afiore/action-allure-report
Last synced: 8 months ago
JSON representation
Github action to generate an Allure report
- Host: GitHub
- URL: https://github.com/afiore/action-allure-report
- Owner: afiore
- Created: 2020-04-03T19:12:32.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-05-02T01:43:34.000Z (about 2 years ago)
- Last Synced: 2025-03-01T10:48:23.320Z (over 1 year ago)
- Language: Dockerfile
- Size: 1000 Bytes
- Stars: 9
- Watchers: 3
- Forks: 10
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Action generate Allure report
Uses [allure-framework](https://github.com/allure-framework/allure2) to generate a browsable test report
## Inputs
### results-dir
**Required** The relative path to the Allure results directory. Default `allure-results`.
### report-dir
**Required** The relative path to the directory where Allure will write the generated report. Default `allure-results`.
## Building and running locally
Build the docker image by running:
```bash
docker build . -t allure-gen
```
Then, assuming you have a `allure-results` and a `allure-report` folder in your current directory, you can generate the report by running:
```bash
docker run -v ${PWD}:/github/workspace allure-gen allure-results allure-report
```