test: Run slow tests in regression runs (again^2) (#2623)

* test: Run slow tests in regression runs (again^2)

* better comment
This commit is contained in:
Shahar Mike 2024-02-20 13:57:40 +02:00 committed by GitHub
parent 1ef8795611
commit ebe83c820c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -41,7 +41,11 @@ jobs:
gspace-secret: ${{ secrets.GSPACES_BOT_DF_BUILD }}
run-only-on-ubuntu-latest: false
build-folder-name: build
filter: ${{ matrix.build-type == 'Release' && '' || 'not opt_only' }}
# This expression serves as a ternary operator, i.e. if the condition holds it returns
# 'not NON_EXISTING_MARK' otherwise not opt_only.
# Do not filter anything in Release, but do not run opt_only in Debug. Unfortunately an
# empty string creates a 'false' expression, so we use a non existing mark
filter: ${{ matrix.build-type == 'Release' && 'not NON_EXISTING_MARK' || 'not opt_only' }}
- name: Upload logs on failure
if: failure()