mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-04 14:55:41 +02:00
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 8d0642568c
. That commit ran the tests
all the time, which was too slow.
Part of #1037
This commit is contained in:
parent
3439e0e7e0
commit
5667224c61
1 changed files with 7 additions and 0 deletions
7
.github/workflows/build-test.yml
vendored
7
.github/workflows/build-test.yml
vendored
|
@ -15,12 +15,18 @@ jobs:
|
||||||
- uses: dorny/paths-filter@v3
|
- uses: dorny/paths-filter@v3
|
||||||
id: filter
|
id: filter
|
||||||
with:
|
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: |
|
filters: |
|
||||||
dsf:
|
dsf:
|
||||||
- 'dsf-gdb/**'
|
- 'dsf-gdb/**'
|
||||||
- 'dsf/**'
|
- 'dsf/**'
|
||||||
- 'debug/**'
|
- 'debug/**'
|
||||||
- 'jtag/**'
|
- 'jtag/**'
|
||||||
|
- 'pom.xml'
|
||||||
|
- 'releng/**'
|
||||||
|
- '.github/**'
|
||||||
docs:
|
docs:
|
||||||
- 'doc/org.eclipse.cdt.doc.user/**'
|
- 'doc/org.eclipse.cdt.doc.user/**'
|
||||||
- name: Set up JDK 21
|
- name: Set up JDK 21
|
||||||
|
@ -50,6 +56,7 @@ jobs:
|
||||||
-Dmaven.test.failure.ignore=true \
|
-Dmaven.test.failure.ignore=true \
|
||||||
-DexcludedGroups=flakyTest,slowTest \
|
-DexcludedGroups=flakyTest,slowTest \
|
||||||
-Ddsf.gdb.tests.timeout.multiplier=50 \
|
-Ddsf.gdb.tests.timeout.multiplier=50 \
|
||||||
|
-Ddsf-gdb.skip.tests=$(test ${{ steps.filter.outputs.dsf }} == 'false' && echo 'true' || echo 'false') \
|
||||||
-Dindexer.timeout=300
|
-Dindexer.timeout=300
|
||||||
- name: Upload Logs
|
- name: Upload Logs
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
|
|
Loading…
Add table
Reference in a new issue