Demonstrate usage of Github Actions Plugin for test fliprate calculations.
flaky-test-analysis-examplesworkflow to demonstrate the usage of the plugin- Examples with existing
test_history.csvandJUnittest result files - Heatmap images uploaded as
heatmapsartifact
- Examples with existing
full-workflowworkflow 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-pluginto 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.csvwith a fake 7 day history, 40 runs of each test per day (runspytest280 times)pip install -r requirements.txtandpython generate_test_results.py
- Create 15
JUnittest reportspip install -r requirements.txtandpython generate_junit_history.py