diff --git a/.github/workflows/mi100.yml b/.github/workflows/mi100.yml index a65fd6d6ef..81f75dcafd 100644 --- a/.github/workflows/mi100.yml +++ b/.github/workflows/mi100.yml @@ -51,19 +51,18 @@ jobs: mkdir build cd build ml cmake - cmake -DENABLE_COVERAGE=ON .. + cmake -DENABLE_COVERAGE=ON -DPYTEST_NUMPROCS=24 .. - name: Create HIP binary (vcopy) run: hipcc -o tests/vcopy ./sample/vcopy.cpp - name: Run [profile] mode run: | cd build srun -N 1 -J omniperf -p ci -t 00:20:00 ctest -j 4 --resource-spec-file ../tests/4gpus.json --verbose -L profile -## - name: Summarize tests -## if: always() -## uses: pmeier/pytest-results-action@main -## with: -## path: tests/test-results.xml -## summary: true + - name: Run [analyze workloads] mode + if: '!cancelled()' + run: | + cd build + srun -N 1 -J omniperf -p ci -t 00:10:00 ctest --verbose -R test_analyze_workloads - name: Publish Test Results uses: EnricoMi/publish-unit-test-result-action/linux@v2 if: always() @@ -75,11 +74,7 @@ jobs: ## cd build ## srun -N 1 -J omniperf -p ci -t 00:20:00 ctest -j 4 --resource-spec-file ../tests/4gpus.json --verbose -L profile # srun -N 1 -J omniperf -p ci -t 00:20:00 ctest --verbose -R test_profile_kernel_execution -## - name: Run [analyze] mode -## if: '!cancelled()' -## run: | -## cd build -## srun -N 1 -J omniperf -p ci -t 00:55:00 ctest --verbose -R test_analyze_commands + ## ## - name: Pytest coverage comment ## ## if: '!cancelled()' ## ## uses: MishaKav/pytest-coverage-comment@v1.1.48