From 3660e2d79af87c69dbecaa4dfb95261ff6ecace4 Mon Sep 17 00:00:00 2001 From: Wonhyuk Yang Date: Mon, 10 Nov 2025 12:34:12 +0000 Subject: [PATCH] [CI] Add accuracy validation --- .github/workflows/pytorchsim_test.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.github/workflows/pytorchsim_test.yml b/.github/workflows/pytorchsim_test.yml index c27df48a..bc356d85 100644 --- a/.github/workflows/pytorchsim_test.yml +++ b/.github/workflows/pytorchsim_test.yml @@ -662,3 +662,24 @@ jobs: -e TORCHSIM_VECTOR_LANE="${{ inputs.vector_lane }}" \ -e TORCHSIM_SPAD_SIZE="${{ inputs.spad_size }}" \ ${{ inputs.image_name }} python3 PyTorchSim/tests/test_scheduler.py + + test_accuracy: + name: Run test_accuracy + runs-on: self-hosted + steps: + - name: Log in to GitHub Container Registry + uses: docker/login-action@v3 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + + - name: Run run_cycle.sh + run: | + echo "Running run_cycle.sh" + docker run --rm \ + -v /tmp/torchsim-ci/${GITHUB_SHA}:/dump \ + -e TORCHSIM_DUMP_PATH=/dump \ + -e TORCHSIM_VECTOR_LANE="${{ inputs.vector_lane }}" \ + -e TORCHSIM_SPAD_SIZE="${{ inputs.spad_size }}" \ + ${{ inputs.image_name }} PyTorchSim/experiments/artifact/cycle_validation/run_cycle.sh