From ddbe35e63f243ce1d9b0913aea5fad1a9970b3a3 Mon Sep 17 00:00:00 2001 From: Sunyoung Yoo <17974113+YooSunYoung@users.noreply.github.com> Date: Fri, 6 Mar 2026 10:40:52 +0100 Subject: [PATCH 1/5] Add report job status step to CI workflow --- .github/workflows/ci.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9d4b97e8..513e8701 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -80,3 +80,12 @@ jobs: environments: docs-${{ matrix.package }} - name: Build docs run: pixi run -e docs-${{ matrix.package }} docs ${{ matrix.package }} + + report: + name: Report Job Status + needs: [changes, formatting, test, docs] + if : success() + runs-on: ubuntu-24.04 + steps: + - name: Report Job Status + run: echo "All Tests Succeeded" From a3f2f5a48c99f51f2a64c0c9a9f8e5d13af9a9a2 Mon Sep 17 00:00:00 2001 From: Sunyoung Yoo <17974113+YooSunYoung@users.noreply.github.com> Date: Fri, 6 Mar 2026 10:43:51 +0100 Subject: [PATCH 2/5] Comment out package check in CI workflow Commented out the condition checking for empty packages in test and docs jobs. --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 513e8701..284f7e4c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -48,7 +48,7 @@ jobs: test: name: Test ${{ matrix.package }} needs: [changes, formatting] - if: needs.changes.outputs.packages != '[]' + # if: needs.changes.outputs.packages != '[]' strategy: fail-fast: false matrix: @@ -65,7 +65,7 @@ jobs: docs: name: Docs ${{ matrix.package }} needs: [changes, test] - if: needs.changes.outputs.packages != '[]' + # if: needs.changes.outputs.packages != '[]' strategy: fail-fast: false matrix: From 2391f7e8bb1a11285c546d74d01fcbdd16e2826b Mon Sep 17 00:00:00 2001 From: Sunyoung Yoo <17974113+YooSunYoung@users.noreply.github.com> Date: Fri, 6 Mar 2026 10:47:01 +0100 Subject: [PATCH 3/5] Update CI workflow conditions for tests and docs --- .github/workflows/ci.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 284f7e4c..42cc9bc7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -48,7 +48,7 @@ jobs: test: name: Test ${{ matrix.package }} needs: [changes, formatting] - # if: needs.changes.outputs.packages != '[]' + if: needs.changes.outputs.packages != '[]' strategy: fail-fast: false matrix: @@ -65,7 +65,7 @@ jobs: docs: name: Docs ${{ matrix.package }} needs: [changes, test] - # if: needs.changes.outputs.packages != '[]' + if: needs.changes.outputs.packages != '[]' strategy: fail-fast: false matrix: @@ -84,7 +84,10 @@ jobs: report: name: Report Job Status needs: [changes, formatting, test, docs] - if : success() + if: | + always() && + (needs.test.result == 'skipped' || needs.test.result == 'success') && + (needs.docs.result == 'skipped' || needs.docs.result == 'success') runs-on: ubuntu-24.04 steps: - name: Report Job Status From 0c668e9b2cd9100ec393e09bbaf47ddb257c713f Mon Sep 17 00:00:00 2001 From: Sunyoung Yoo <17974113+YooSunYoung@users.noreply.github.com> Date: Fri, 6 Mar 2026 10:56:28 +0100 Subject: [PATCH 4/5] Refactor CI job status reporting logic --- .github/workflows/ci.yml | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 42cc9bc7..bde260be 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -84,11 +84,21 @@ jobs: report: name: Report Job Status needs: [changes, formatting, test, docs] - if: | - always() && - (needs.test.result == 'skipped' || needs.test.result == 'success') && - (needs.docs.result == 'skipped' || needs.docs.result == 'success') + if: always() runs-on: ubuntu-24.04 steps: - - name: Report Job Status + - name: Report Job Success run: echo "All Tests Succeeded" + if: | + needs.formatting.result == 'success' && + (needs.test.result == 'skipped' || needs.test.result == 'success') && + (needs.docs.result == 'skipped' || needs.docs.result == 'success') + + - name: Report Job Failure + run: | + echo "Not All Tests Succeeded..." + exit 1 + if: | + needs.formatting.result != 'success' || + (needs.test.result != 'skipped' && needs.test.result == 'failure') || + (needs.docs.result != 'skipped' && needs.docs.result == 'failure') From 7f506f5268556028baf4884c0150e6ea7f1c0883 Mon Sep 17 00:00:00 2001 From: Sunyoung Yoo <17974113+YooSunYoung@users.noreply.github.com> Date: Fri, 6 Mar 2026 11:00:45 +0100 Subject: [PATCH 5/5] Remove white spaces --- .github/workflows/ci.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bde260be..94f310a1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -93,7 +93,6 @@ jobs: needs.formatting.result == 'success' && (needs.test.result == 'skipped' || needs.test.result == 'success') && (needs.docs.result == 'skipped' || needs.docs.result == 'success') - - name: Report Job Failure run: | echo "Not All Tests Succeeded..."