Hi Folks, I am currently running my pytests on docker image in circle ci and trying to generate the reports using allure framework. But i am running into the following exception
Generating report to temp directory…
Report successfully generated to /tmp/3776919954259088948/allure-report
Starting web server…
2020-10-16 19:39:48.747:INFO::main: Logging initialized @1460ms to org.eclipse.jetty.util.log.StdErrLog
Exception in thread “main” java.lang.UnsupportedOperationException: The BROWSE action is not supported on the current platform!
All i need is to be able to display allure reports on circle instead of JunitXml reports (which doesnot give much details. )
Questions:
- Is there a command to just generate the report and not display in the UI
- I understand Allure is a 3rd party tool, Can we atleast display a link to Allure reports on circle ci ?
Below is code snippet of how i am installing Allure and running the test results
I - allure/install
- run:
name: allure pytest installation
command: |
sudo pip install allure-pytest
pytest -v -s -m Smoketest --alluredir="/home/circleci/project/Smoketest-resultsdir"
allure serve /home/circleci/project/Smoketest-resultsdir