1717
1818# To learn more about GitHub Actions in Apache Beam check the CI.md
1919
20- name : Run performance alerting tool on Python load tests.
20+ name : Run performance alerting tool on Python load/performance/benchmark tests.
2121
2222on :
2323 schedule :
24- - cron : ' 5 * * * *' # TODO: Change the window of the cron job.
24+ - cron : ' 5 22 * * *'
2525
2626jobs :
2727 python_run_change_point_analysis :
@@ -39,14 +39,21 @@ jobs:
3939 run : pip install pip setuptools --upgrade && pip install -r build-requirements.txt
4040 - name : Install Apache Beam
4141 working-directory : ./sdks/python
42- run : pip install -e .[gcp]
42+ run : pip install -e .[gcp,test ]
4343 - name : Install signal-processing-algorithms
4444 run : pip install signal-processing-algorithms
45- - name : Install Pandas , yaml, requests
45+ - name : Install pandas , yaml, requests
4646 run : pip install pandas PyYAML requests
47- - name : Run Change Point Analysis.
47+ # - name: Run Change Point Analysis.
48+ # working-directory: ./sdks/python/apache_beam/testing/analyzers
49+ # shell: bash
50+ # run: python analysis.py
51+ # env:
52+ # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
53+ - name : Run change point analysis tests.
4854 working-directory : ./sdks/python/apache_beam/testing/analyzers
4955 shell : bash
50- run : python analysis .py
56+ run : pytest perf_analysis_test .py
5157 env :
5258 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
59+
0 commit comments