From 268a0eeb2d0fd3e70858e314471aa2a2d054b5b8 Mon Sep 17 00:00:00 2001 From: atbrakhi Date: Fri, 12 Sep 2025 13:14:38 +0200 Subject: [PATCH] ci: Reland run devtools tests whenever we run unit tests from #38614 (#39267) This patch updates `linux.yml`, `mac.yml`, and `windows.yml` to run the devtools test suite (https://github.com/servo/servo/issues/36325). Testing: this patch effectively adds all devtools tests to CI Fixes: https://github.com/servo/servo/issues/36325 Signed-off-by: atbrakhi Co-authored-by: Delan Azabani --- .github/workflows/linux.yml | 3 +++ .github/workflows/mac.yml | 3 +++ .github/workflows/windows.yml | 3 +++ 3 files changed, 9 insertions(+) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 67c8e2f826d..dcdb188ee90 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -194,6 +194,9 @@ jobs: timeout_minutes: 20 max_attempts: 2 # https://github.com/servo/servo/issues/30683 command: ./mach test-unit --${{ inputs.profile }} + - name: Devtools tests + if: ${{ inputs.unit-tests }} + run: ./mach test-devtools --${{ inputs.profile }} - name: Archive build timing uses: actions/upload-artifact@v4 with: diff --git a/.github/workflows/mac.yml b/.github/workflows/mac.yml index 7ad1f067c9d..aef70406933 100644 --- a/.github/workflows/mac.yml +++ b/.github/workflows/mac.yml @@ -174,6 +174,9 @@ jobs: timeout_minutes: 40 # https://github.com/servo/servo/issues/30275 max_attempts: 3 # https://github.com/servo/servo/issues/30683 command: ./mach test-unit --${{ inputs.profile }} + - name: Devtools tests + if: ${{ inputs.unit-tests }} + run: ./mach test-devtools --${{ inputs.profile }} - name: Build mach package run: ./mach package --${{ inputs.profile }} - name: Run DMG smoketest diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 52ae718f567..5a0c2ca6237 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -187,6 +187,9 @@ jobs: timeout_minutes: 30 max_attempts: 3 # https://github.com/servo/servo/issues/30683 command: .\mach test-unit --${{ inputs.profile }} -- -- --test-threads=1 + - name: Devtools tests + if: ${{ inputs.unit-tests }} + run: .\mach test-devtools --${{ inputs.profile }} - name: Archive build timing uses: actions/upload-artifact@v4 with: