Skip to content

TraceDiff: Post WF name disambiguation #1558

TraceDiff: Post WF name disambiguation

TraceDiff: Post WF name disambiguation #1558

###############################################################################
# Copyright (c) 2025 - 2026 Advanced Micro Devices, Inc. All rights reserved.
#
# See LICENSE for license information.
###############################################################################
name: Regression Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
regression-tests:
runs-on: ubuntu-latest
# rocm-origami needs rocm
container: rocm/dev-ubuntu-24.04:7.2.1
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install dependencies
run: |
apt update && apt install -y python3-venv git
python -m venv .venv
. .venv/bin/activate
python -m pip install --upgrade pip
pip install . pytest openpyxl orjson 'protobuf>=6.31.1,<7.0.0' rocm-origami
- name: Run function-based tests
run: |
. .venv/bin/activate
pytest tests/test_subtract_intervals.py tests/test_graph_mode.py tests/test_kernel_launchers.py tests/test_call_stack_perf_report.py
- name: Run rocprof report tests
run: |
. .venv/bin/activate
pytest tests/test_rocprof_perf_report.py
- name: Run perf report regression tests
run: |
. .venv/bin/activate
pytest tests/test_perf_report_regression.py
- name: Run compare perf reports tests
run: |
. .venv/bin/activate
pytest tests/test_compare_perf_reports.py
- name: Run pytest on inference perf report tests
run: |
. .venv/bin/activate
pytest tests/test_inference_perf_report.py
- name: Run collective analysis tests
run: |
. .venv/bin/activate
pytest tests/test_collective_analysis.py
- name: Run all2allv summary tests
run: |
. .venv/bin/activate
pytest tests/test_all2allv_summary.py
- name: Run JAX perf report tests
run: |
. .venv/bin/activate
pytest tests/test_jax_perf_report.py
- name: Run detect recompute tests
run: |
. .venv/bin/activate
pytest tests/test_detect_recompute.py
- name: Run copyright header checks
run: |
. .venv/bin/activate
pytest tests/test_copyright_headers.py
- name: Run pytest on the analysis agent tests
run: |
. .venv/bin/activate
pytest tests/test_analysis_agent.py