summaryrefslogtreecommitdiffstats
path: root/.github/workflows/weekly_analytic.yml
blob: a034d3227e77b8b6d723c5db673347a6520c2806 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
name: Weekly-Analytic
on:
  workflow_dispatch:
        
defaults:
  run:
    shell: bash
jobs:
  main:
    name: Run Weekly Python Script
    runs-on: [ self-hosted ]
    steps:
    - name: Checkout
      uses: actions/checkout@v5
      with:
        ref: ${{ github.ref }}
    - 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 }}
        ydb_qa_config: ${{ vars.YDB_QA_CONFIG }}
    - name: Install dependencies
      run: |
        python3 -m pip install ydb ydb[yc] pandas  # Add any other required packages
    - name: Execute weekly Python script
      continue-on-error: true
      run: python3 .github/scripts/analytics/data_mart_delete_table.py --table_path test_results/analytics/test_history_fast