Collect-analytics-run #1539
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Collect-analytics-run | |
on: | |
schedule: | |
- cron: "0 * * * *" # Every 1 h | |
workflow_dispatch: | |
inputs: | |
commit_sha: | |
type: string | |
default: "" | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
main: | |
name: Checkout and setup | |
runs-on: [ self-hosted ] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ inputs.commit_sha }} | |
- name: Setup ydb access | |
uses: ./.github/actions/setup_ci_ydb_service_account_key_file_credentials | |
with: | |
ci_ydb_service_account_key_file_credentials: ${{ secrets.CI_YDB_SERVICE_ACCOUNT_KEY_FILE_CREDENTIALS }} | |
- name: Install dependencies | |
run: | | |
python3 -m pip install ydb ydb[yc] codeowners | |
- name: Collect testowners | |
run: python3 .github/scripts/analytics/upload_testowners.py | |
- name: Collect test history data with window 5 days | |
run: python3 .github/scripts/analytics/flaky_tests_history.py --days-window=5 | |
- name: Collect test history data with window 1 day | |
run: python3 .github/scripts/analytics/flaky_tests_history.py --days-window=1 | |
- name: Collect test history data with window 10 run relwithdebinfo for main | |
run: python3 .github/scripts/analytics/flaky_tests_history_n_runs.py --runs=10 | |
- name: Collect test history data with window 10 run release-asan for main | |
run: python3 .github/scripts/analytics/flaky_tests_history_n_runs.py --runs=10 --build_type=release-asan | |
- name: Collect test history data with window 50 run relwithdebinfo for main | |
run: python3 .github/scripts/analytics/flaky_tests_history_n_runs.py --runs=50 | |
- name: Collect test history data with window 50 run release-asan for main | |
run: python3 .github/scripts/analytics/flaky_tests_history_n_runs.py --runs=50 --build_type=release-asan | |