From d29ff1ff8260c3c8ea7cb7942ed213a3a6a38774 Mon Sep 17 00:00:00 2001 From: CSY Date: Wed, 8 Jan 2025 05:45:32 +0000 Subject: [PATCH] fix amd-smi error --- .github/workflows/unit_tests.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index 864a348..64d7a00 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -131,18 +131,21 @@ jobs: steps: - uses: actions/checkout@v4 + - name: got to system dir + run: mkdir /opt/Device-SMI && cp -r * /opt/Device-SMI + - name: install - run: pip install . + run: pip install /opt/Device-SMI - name: test os - run: python tests/os.py + run: python /opt/Device-SMI/tests/os.py - name: test cpu - run: python tests/cpu.py + run: python /opt/Device-SMI/tests/cpu.py - name: test gpu if: always() && !cancelled() - run: python tests/gpu.py + run: python /opt/Device-SMI/tests/gpu.py m4: runs-on: [self-hosted, m4]