Skip to content

Commit

Permalink
build: add performance metrics step in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian2012 committed Mar 15, 2024
1 parent eb30f7a commit 612f5e0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ jobs:
tutor local do dump-data-to-clickhouse --options "--object course_overviews"
make extract_translations
tutor local do import-assets
- name: Performance metrics
run: tutor local do performance-metrics
- name: Tutor stop
run: tutor local stop

Expand Down Expand Up @@ -136,6 +138,8 @@ jobs:
tutor dev do dump-data-to-clickhouse --options "--object course_overviews"
make extract_translations
tutor dev do import-assets
- name: Performance metrics
run: tutor dev do performance-metrics
- name: Tutor stop
run: tutor dev stop

Expand Down Expand Up @@ -218,6 +222,8 @@ jobs:
tutor k8s do dump-data-to-clickhouse --options "--object course_overviews"
make extract_translations
tutor k8s do import-assets
- name: Performance metrics
run: tutor k8s do performance-metrics
- name: Check failure logs
if: failure()
run: |
Expand Down
2 changes: 1 addition & 1 deletion tutoraspects/commands_v1.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def import_assets() -> list[tuple[str, str]]:
),
]

# Ex: "tutor local do import_assets "
# Ex: "tutor local do performance-metrics "
@click.command(context_settings={"ignore_unknown_options": True})
def performance_metrics() -> list[tuple[str, str]]:
"""
Expand Down

0 comments on commit 612f5e0

Please sign in to comment.