Rename AI4SS to RIKYU #256
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Result Server Tests | |
| on: | |
| pull_request: | |
| paths: | |
| - "result_server/**" | |
| - "scripts/bk_functions.sh" | |
| - "scripts/collect_timing.sh" | |
| - "scripts/result.sh" | |
| - "scripts/result_server/**" | |
| - "scripts/estimation/**" | |
| - "scripts/tests/test_bk_profiler.sh" | |
| - "scripts/tests/test_estimation_gpu_kernel_ensemble_average.sh" | |
| - "scripts/tests/test_estimation_gpu_kernel_lightgbm_v10.sh" | |
| - "scripts/tests/test_estimation_gpu_kernel_mlp_v15.sh" | |
| - "scripts/tests/fixtures/**" | |
| - "scripts/tests/test_genesis_gpu_mlp_estimation.sh" | |
| - "scripts/tests/test_result_profile_data.sh" | |
| - "scripts/tests/test_send_estimate_artifacts.sh" | |
| - "scripts/tests/test_send_results_profile_data.sh" | |
| - "scripts/test_estimate_submit.sh" | |
| - "programs/genesis/estimate.sh" | |
| - "programs/genesis/run.sh" | |
| - "programs/qws/estimate.sh" | |
| - "config/system.csv" | |
| - "config/queue.csv" | |
| - "config/system_info.csv" | |
| - "requirements-result-server.txt" | |
| - ".github/workflows/result-server-tests.yml" | |
| push: | |
| branches: | |
| - "**" | |
| paths: | |
| - "result_server/**" | |
| - "scripts/bk_functions.sh" | |
| - "scripts/collect_timing.sh" | |
| - "scripts/result.sh" | |
| - "scripts/result_server/**" | |
| - "scripts/estimation/**" | |
| - "scripts/tests/test_bk_profiler.sh" | |
| - "scripts/tests/test_estimation_gpu_kernel_ensemble_average.sh" | |
| - "scripts/tests/test_estimation_gpu_kernel_lightgbm_v10.sh" | |
| - "scripts/tests/test_estimation_gpu_kernel_mlp_v15.sh" | |
| - "scripts/tests/fixtures/**" | |
| - "scripts/tests/test_genesis_gpu_mlp_estimation.sh" | |
| - "scripts/tests/test_result_profile_data.sh" | |
| - "scripts/tests/test_send_estimate_artifacts.sh" | |
| - "scripts/tests/test_send_results_profile_data.sh" | |
| - "scripts/test_estimate_submit.sh" | |
| - "programs/genesis/estimate.sh" | |
| - "programs/genesis/run.sh" | |
| - "programs/qws/estimate.sh" | |
| - "config/system.csv" | |
| - "config/queue.csv" | |
| - "config/system_info.csv" | |
| - "requirements-result-server.txt" | |
| - ".github/workflows/result-server-tests.yml" | |
| workflow_dispatch: | |
| jobs: | |
| pytest: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: | |
| - "3.12" | |
| - "3.13" | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| cache: "pip" | |
| cache-dependency-path: requirements-result-server.txt | |
| - name: Install result_server test dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| python -m pip install -r requirements-result-server.txt | |
| - name: Run site configuration preflight | |
| run: python result_server/tests/check_site_config.py | |
| - name: Run result_server pytest suite | |
| run: python result_server/tests/run_result_server_tests.py | |
| profile-data-shell: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v4 | |
| - name: Check shell test dependencies | |
| run: | | |
| set -euo pipefail | |
| command -v jq | |
| jq --version | |
| command -v python3 | |
| python3 --version | |
| estimation_python="" | |
| for candidate in python3.12 python3.11 python3; do | |
| if command -v "$candidate" >/dev/null 2>&1; then | |
| estimation_python=$(command -v "$candidate") | |
| break | |
| fi | |
| done | |
| test -n "$estimation_python" | |
| "$estimation_python" - <<'PY' | |
| import sys | |
| raise SystemExit(0 if sys.version_info >= (3, 11) else 1) | |
| PY | |
| - name: Run profiler, profile-data, and estimation shell tests | |
| run: | | |
| bash scripts/tests/test_bk_profiler.sh | |
| bash scripts/tests/test_result_profile_data.sh | |
| bash scripts/tests/test_send_results_profile_data.sh | |
| bash scripts/tests/test_send_estimate_artifacts.sh | |
| bash scripts/tests/test_estimation_gpu_kernel_ensemble_average.sh | |
| bash scripts/tests/test_estimation_gpu_kernel_lightgbm_v10.sh | |
| bash scripts/tests/test_estimation_gpu_kernel_mlp_v15.sh | |
| bash scripts/tests/test_genesis_gpu_mlp_estimation.sh |