From 7723d71fbfbff35408ded0125c51fe9b2914e10f Mon Sep 17 00:00:00 2001 From: Jonah Graham Date: Thu, 16 Jan 2025 13:48:10 -0500 Subject: [PATCH] Run DSF-GDB tests when releng may have changed On a recent update to the target platform, the DSF-GDB tests did not run because none of the changes matched the dsf filter. Going forward, include running DSF tests when any releng changes happen. This replaces commit 8d0642568c0. That commit ran the tests all the time, which was too slow. Part of #1037 --- .github/workflows/build-test.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 4d92ccecfd2..b8cd4d7f610 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -15,12 +15,17 @@ jobs: - uses: dorny/paths-filter@v3 id: filter with: + # dsf filters are to know when to run dsf-gdb tests (See ref below) + # it includes any changes to debug, or anything likely to affect gdb + # testing filters: | dsf: - 'dsf-gdb/**' - 'dsf/**' - 'debug/**' - 'jtag/**' + - 'pom.xml' + - 'releng/**' docs: - 'doc/org.eclipse.cdt.doc.user/**' - name: Set up JDK 21 @@ -50,6 +55,7 @@ jobs: -Dmaven.test.failure.ignore=true \ -DexcludedGroups=flakyTest,slowTest \ -Ddsf.gdb.tests.timeout.multiplier=50 \ + -Ddsf-gdb.skip.tests=$(test ${{ steps.filter.outputs.dsf }} == 'false' && echo 'true' || echo 'false') \ -Dindexer.timeout=300 - name: Upload Logs uses: actions/upload-artifact@v4