Skip to content

Commit

Permalink
Add tests to GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
AnandInguva committed Dec 22, 2022
1 parent 748ebd5 commit c12b594
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions .github/workflows/run_perf_alert_tool.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@

# To learn more about GitHub Actions in Apache Beam check the CI.md

name: Run performance alerting tool on Python load tests.
name: Run performance alerting tool on Python load/performance/benchmark tests.

on:
schedule:
- cron: '5 * * * *' # TODO: Change the window of the cron job.
- cron: '5 22 * * *'

jobs:
python_run_change_point_analysis:
Expand All @@ -39,14 +39,21 @@ jobs:
run: pip install pip setuptools --upgrade && pip install -r build-requirements.txt
- name: Install Apache Beam
working-directory: ./sdks/python
run: pip install -e .[gcp]
run: pip install -e .[gcp,test]
- name: Install signal-processing-algorithms
run: pip install signal-processing-algorithms
- name: Install Pandas, yaml, requests
- name: Install pandas, yaml, requests
run: pip install pandas PyYAML requests
- name: Run Change Point Analysis.
# - name: Run Change Point Analysis.
# working-directory: ./sdks/python/apache_beam/testing/analyzers
# shell: bash
# run: python analysis.py
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Run change point analysis tests.
working-directory: ./sdks/python/apache_beam/testing/analyzers
shell: bash
run: python analysis.py
run: pytest perf_analysis_test.py
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit c12b594

Please sign in to comment.