add etcd test analyzer build and integrate into measure-test-flakiness workflow

Signed-off-by: Chao Chen <chaochn@amazon.com>
This commit is contained in:
Chao Chen
2023-03-19 23:02:17 -07:00
parent 5223d09d41
commit a8c20f931e
2 changed files with 19 additions and 3 deletions

View File

@@ -2,7 +2,7 @@ name: Measure Test Flakiness
on:
schedule:
- cron: "0 0 * * 0"
- cron: "0 0 * * 0" # run every Sunday at midnight
permissions: read-all
@@ -12,6 +12,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0
- run: "./scripts/measure-test-flakiness.sh"
env:
- env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
set -euo pipefail
./scripts/measure-test-flakiness.sh
make bin/etcd-test-analyzer
bin/etcd-test-analyzer run -token $GITHUB_TOKEN -max-age=168h -workflow Tests -branch main