From 576943b277d6e31c91944adbf1a26d84b25cbf0b Mon Sep 17 00:00:00 2001 From: Bryce Adelstein Lelbach aka wash Date: Mon, 27 Apr 2026 22:41:00 -0400 Subject: [PATCH 1/2] Test: Add intentional CI failures to validate workflow changes. Add test files that deliberately trigger all 5 CI checks: - bad.yaml: indentation and duplicate key errors (yamllint) - bad-link.md: broken URL (lychee link checker) - bad-notebook.ipynb: non-canonical format with outputs (notebook format) - not-lfs-tracked.png: PNG added without LFS (git-lfs check) --- test/ci-validation/bad-link.md | 3 +++ test/ci-validation/bad-notebook.ipynb | 26 +++++++++++++++++++++++++ test/ci-validation/bad.yaml | 5 +++++ test/ci-validation/not-lfs-tracked.png | Bin 0 -> 73 bytes 4 files changed, 34 insertions(+) create mode 100644 test/ci-validation/bad-link.md create mode 100644 test/ci-validation/bad-notebook.ipynb create mode 100644 test/ci-validation/bad.yaml create mode 100644 test/ci-validation/not-lfs-tracked.png diff --git a/test/ci-validation/bad-link.md b/test/ci-validation/bad-link.md new file mode 100644 index 00000000..b33ea0c8 --- /dev/null +++ b/test/ci-validation/bad-link.md @@ -0,0 +1,3 @@ +# CI Validation: Broken Link + +This file intentionally contains a [broken link](https://github.com/NVIDIA/accelerated-computing-hub/blob/main/THIS_FILE_DOES_NOT_EXIST_12345.md) to trigger the link checker. diff --git a/test/ci-validation/bad-notebook.ipynb b/test/ci-validation/bad-notebook.ipynb new file mode 100644 index 00000000..0a7122b2 --- /dev/null +++ b/test/ci-validation/bad-notebook.ipynb @@ -0,0 +1,26 @@ +{ + "cells": [ + { + "cell_type": "code", + "execution_count": 1, + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": ["hello\n"] + } + ], + "source": ["print('hello')"] + } + ], + "metadata": { + "kernelspec": { + "display_name": "Python 3", + "language": "python", + "name": "python3" + } + }, + "nbformat": 4, + "nbformat_minor": 5 +} diff --git a/test/ci-validation/bad.yaml b/test/ci-validation/bad.yaml new file mode 100644 index 00000000..60b86c9c --- /dev/null +++ b/test/ci-validation/bad.yaml @@ -0,0 +1,5 @@ +key: value + bad_indent: this line has wrong indentation +duplicate_key: first +duplicate_key: second +trailing_space: value diff --git a/test/ci-validation/not-lfs-tracked.png b/test/ci-validation/not-lfs-tracked.png new file mode 100644 index 0000000000000000000000000000000000000000..6a68df846aec5ae5f86335a5e3cf91cd93781ff5 GIT binary patch literal 73 zcmeAS@N?(olHy`uVBq!ia0vp^Od!kwBL7~QRScvAJY5_^D&{2rIDde_g-3vkLH-@{ U-|l#kD?m90Pgg&ebxsLQ050MZH2?qr literal 0 HcmV?d00001 From 4ae7bff29500cb2d1e8269eecae75e6891d66b46 Mon Sep 17 00:00:00 2001 From: Bryce Adelstein Lelbach aka wash Date: Mon, 27 Apr 2026 22:42:39 -0400 Subject: [PATCH 2/2] Test: Add unsigned commit to trigger signature check. --- test/ci-validation/README.md | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 test/ci-validation/README.md diff --git a/test/ci-validation/README.md b/test/ci-validation/README.md new file mode 100644 index 00000000..05f408a7 --- /dev/null +++ b/test/ci-validation/README.md @@ -0,0 +1,4 @@ +# CI Workflow Validation + +This directory contains intentional failures for testing CI workflows. +Delete this directory and its PR once validation is complete.