This is a set of CLI tools specifically built for the parsing github actions test output for the dapr project. Useful if you are a dapr maintainer but probably not for anybody else.
Install the dialog package
brew install dialog
Install Python libraries
pip3 install -r requirements.txt
Set your GitHub token environment variable
export GITHUB_TOKEN=<YOUR-TOKEN-HERE>
python3 scrape_tests.py dapr dapr
You can scrape the output of one or more test suites for a particular regex.
python3 grep_test_output.py dapr cli ".*expected.*Running.*" output.txt
To get the test failure counts by test for the last N days
python3 failure_counts.py dapr dapr 4