This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-website.git


The following commit(s) were added to refs/heads/main by this push:
     new 63704a86 ci: run the unit tests in the pull request workflow
63704a86 is described below

commit 63704a866059417eafe5cae7108075ec0fad3464
Author: Claus Ibsen <[email protected]>
AuthorDate: Fri Sep 18 19:43:06 2026 +0200

    ci: run the unit tests in the pull request workflow
    
    yarn test (node:test over test/*-test.js, covering the Markdown pipeline
    and the other gulp helpers and scripts) was only ever run by hand. It
    now runs in the checks job before the site build, so a broken helper
    fails the PR in a second instead of going unnoticed.
    
    Closes #1776
---
 .github/workflows/pr.yaml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml
index 425f9b5d..c8f408d7 100644
--- a/.github/workflows/pr.yaml
+++ b/.github/workflows/pr.yaml
@@ -90,6 +90,10 @@ jobs:
         run: yarn workspaces foreach --all install
       - name: Check cache
         run: yarn check:dependencies
+      # The unit tests for the gulp helpers and scripts take a second; run them
+      # before the 10-minute site build so a broken helper fails fast.
+      - name: Run unit tests
+        run: yarn test
       # Antora spends most of the build cloning content repositories: a green
       # run measured 426s of 606s in contentAggregated, against 165s of actual
       # conversion. Restoring the clones turns those into incremental fetches.

Reply via email to