Demonstrate usage of Github Actions Plugin for test fliprate calculations.
flaky-test-analysis-examples
workflow to demonstrate the usage of the plugin- Examples with existing
test_history.csv
andJUnit
test result files - Heatmap images uploaded as
heatmaps
artifact
- Examples with existing
full-workflow
workflow to demonstrate flaky test analysis with previous test result artifacts- Download and unzip previous test result artifacts with
download_artifacts.py
- Upload test result and heatmap artifacts
- Download and unzip previous test result artifacts with
full-workflow-with-download-plugin
to download artifacts with dawidd6/action-download-artifact- Latest artifact zip contains all of the history -> download latest zip for flaky test analysis
- Upload heatmaps and append current test result to the artifact
- Create
test_history.csv
with a fake 7 day history, 40 runs of each test per day (runspytest
280 times)pip install -r requirements.txt
andpython generate_test_results.py
- Create 15
JUnit
test reportspip install -r requirements.txt
andpython generate_junit_history.py