Skip to content

Commit

Permalink
[SWDEV-500518] RHEL8 fix (#71)
Browse files Browse the repository at this point in the history
Fix ordering of RHEL 8 build process

Signed-off-by: Williams, Justin <[email protected]>
  • Loading branch information
amd-juwillia authored Jan 28, 2025
1 parent 703415c commit 782dd07
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/amdsmi-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,16 @@ jobs:
python3 -m pip list | grep setuptools
echo 'Completed build and installation on ${{ matrix.os }}'
# Create the directory for test results
mkdir -p /shared/test-results/test-results-${{ matrix.os }}
# Run AMDSMI Tests
echo 'Running AMDSMI Tests'
/opt/rocm/share/amd_smi/tests/amdsmitst > /shared/test-results/test-results-${{ matrix.os }}/amdsmi_tests.log
echo 'Completed AMDSMI Testing'
# Run Python Unit Tests
echo 'Running Python Unit Testing'
mkdir -p /shared/test-results/test-results-${{ matrix.os }}
cd /opt/rocm/share/amd_smi/tests/python_unittest
./integration_test.py -v > /shared/test-results/test-results-${{ matrix.os }}/integration_test_output.txt 2>&1
./unit_tests.py -v > /shared/test-results/test-results-${{ matrix.os }}/unit_test_output.txt 2>&1
Expand Down Expand Up @@ -225,14 +228,16 @@ jobs:
python3 -m pip list | grep setuptools
echo 'Completed build and installation on ${{ matrix.os }}'
# Create the directory for test results
mkdir -p /shared/test-results/test-results-${{ matrix.os }}
# Run AMDSMI Tests
echo 'Running AMDSMI Tests'
/opt/rocm/share/amd_smi/tests/amdsmitst > /shared/test-results/test-results-${{ matrix.os }}/amdsmi_tests.log
echo 'Completed AMDSMI Tests'
echo 'Completed AMDSMI Testing'
# Run Python Unit Testing
# Run Python Unit Tests
echo 'Running Python Unit Testing'
mkdir -p /shared/test-results/test-results-${{ matrix.os }}
cd /opt/rocm/share/amd_smi/tests/python_unittest
./integration_test.py -v > /shared/test-results/test-results-${{ matrix.os }}/integration_test_output.txt 2>&1
./unit_tests.py -v > /shared/test-results/test-results-${{ matrix.os }}/unit_test_output.txt 2>&1
Expand Down

0 comments on commit 782dd07

Please sign in to comment.