diff --git a/.github/build_tools/skip_tests_gfx1151.txt b/.github/build_tools/skip_tests_gfx1151.txt new file mode 100644 index 000000000..fcbfb30f9 --- /dev/null +++ b/.github/build_tools/skip_tests_gfx1151.txt @@ -0,0 +1,9 @@ +rccl_allgather +rccl_allreduce +rccl_broadcast +rccl_buffer_registration +rccl_device_api +rccl_gradient_allreduce +rccl_reduce +rccl_reducescatter +rccl_send_recv \ No newline at end of file diff --git a/.github/workflows/ci_nightly.yml b/.github/workflows/ci_nightly.yml index 30edbb457..1e5414cbf 100644 --- a/.github/workflows/ci_nightly.yml +++ b/.github/workflows/ci_nightly.yml @@ -193,7 +193,19 @@ jobs: - name: Run tests shell: bash run: | - ctest --test-dir build --output-on-failure 2>&1 | tee ctest_output.log + SKIP_FILE=".github/build_tools/skip_tests_${{ matrix.gpu_config.gpu_target }}.txt" + if [ -f "${SKIP_FILE}" ]; then + echo "## Skipped tests" >> $GITHUB_STEP_SUMMARY + echo "" >> $GITHUB_STEP_SUMMARY + echo '```' >> $GITHUB_STEP_SUMMARY + cat "${SKIP_FILE}" >> $GITHUB_STEP_SUMMARY + echo '```' >> $GITHUB_STEP_SUMMARY + echo "" >> $GITHUB_STEP_SUMMARY + + ctest --test-dir build --output-on-failure --exclude-from-file "${SKIP_FILE}" 2>&1 | tee ctest_output.log + else + ctest --test-dir build --output-on-failure 2>&1 | tee ctest_output.log + fi - name: Test summary if: ${{ !cancelled() }} @@ -216,6 +228,13 @@ jobs: # Show failed tests if any if [ "${FAILED}" -gt 0 ]; then + echo "## Failed tests" >> $GITHUB_STEP_SUMMARY + echo "" >> $GITHUB_STEP_SUMMARY + echo '```' >> $GITHUB_STEP_SUMMARY + cat build/Testing/Temporary/LastTestsFailed.log >> $GITHUB_STEP_SUMMARY + echo '```' >> $GITHUB_STEP_SUMMARY + echo "" >> $GITHUB_STEP_SUMMARY + echo "
Failed tests output" >> $GITHUB_STEP_SUMMARY echo "" >> $GITHUB_STEP_SUMMARY echo '```' >> $GITHUB_STEP_SUMMARY diff --git a/.github/workflows/ci_therock.yml b/.github/workflows/ci_therock.yml index d69991e09..69282d653 100644 --- a/.github/workflows/ci_therock.yml +++ b/.github/workflows/ci_therock.yml @@ -213,7 +213,19 @@ jobs: - name: Run tests shell: bash run: | - ctest --test-dir build --output-on-failure 2>&1 | tee ctest_output.log + SKIP_FILE=".github/build_tools/skip_tests_${{ matrix.gpu_config.gpu_target }}.txt" + if [ -f "${SKIP_FILE}" ]; then + echo "## Skipped tests" >> $GITHUB_STEP_SUMMARY + echo "" >> $GITHUB_STEP_SUMMARY + echo '```' >> $GITHUB_STEP_SUMMARY + cat "${SKIP_FILE}" >> $GITHUB_STEP_SUMMARY + echo '```' >> $GITHUB_STEP_SUMMARY + echo "" >> $GITHUB_STEP_SUMMARY + + ctest --test-dir build --output-on-failure --exclude-from-file "${SKIP_FILE}" 2>&1 | tee ctest_output.log + else + ctest --test-dir build --output-on-failure 2>&1 | tee ctest_output.log + fi - name: Test summary if: ${{ !cancelled() }} @@ -236,6 +248,13 @@ jobs: # Show failed tests if any if [ "${FAILED}" -gt 0 ]; then + echo "## Failed tests" >> $GITHUB_STEP_SUMMARY + echo "" >> $GITHUB_STEP_SUMMARY + echo '```' >> $GITHUB_STEP_SUMMARY + cat build/Testing/Temporary/LastTestsFailed.log >> $GITHUB_STEP_SUMMARY + echo '```' >> $GITHUB_STEP_SUMMARY + echo "" >> $GITHUB_STEP_SUMMARY + echo "
Failed tests output" >> $GITHUB_STEP_SUMMARY echo "" >> $GITHUB_STEP_SUMMARY echo '```' >> $GITHUB_STEP_SUMMARY