Skip to content

Commit 5667224

Browse files
authored
Run DSF-GDB tests when releng may have changed (#1042)
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 8d06425. That commit ran the tests all the time, which was too slow. Part of #1037
1 parent 3439e0e commit 5667224

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/build-test.yml

+7
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,18 @@ jobs:
1515
- uses: dorny/paths-filter@v3
1616
id: filter
1717
with:
18+
# dsf filters are to know when to run dsf-gdb tests (See ref below)
19+
# it includes any changes to debug, or anything likely to affect gdb
20+
# testing
1821
filters: |
1922
dsf:
2023
- 'dsf-gdb/**'
2124
- 'dsf/**'
2225
- 'debug/**'
2326
- 'jtag/**'
27+
- 'pom.xml'
28+
- 'releng/**'
29+
- '.github/**'
2430
docs:
2531
- 'doc/org.eclipse.cdt.doc.user/**'
2632
- name: Set up JDK 21
@@ -50,6 +56,7 @@ jobs:
5056
-Dmaven.test.failure.ignore=true \
5157
-DexcludedGroups=flakyTest,slowTest \
5258
-Ddsf.gdb.tests.timeout.multiplier=50 \
59+
-Ddsf-gdb.skip.tests=$(test ${{ steps.filter.outputs.dsf }} == 'false' && echo 'true' || echo 'false') \
5360
-Dindexer.timeout=300
5461
- name: Upload Logs
5562
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)