File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -81,15 +81,17 @@ jobs:
8181
8282 # Set test filter based on mode
8383 if [ "${{ matrix.mode }}" = "sea" ]; then
84- TEST_FILTER="-k 'extra_params1 or extra_params2'"
84+ TEST_FILTER="-k"
85+ TEST_EXPRESSION="extra_params1 or extra_params2"
8586 else
86- TEST_FILTER="-k 'extra_params0 or not extra_params'"
87+ TEST_FILTER="-k"
88+ TEST_EXPRESSION="extra_params0 or not extra_params"
8789 fi
8890
8991 TEST_NAME=$(basename "${{ matrix.test_file }}" .py)
9092 COVERAGE_FILE="coverage-${TEST_NAME}-${{ matrix.mode }}.xml"
9193
92- poetry run pytest "${{ matrix.test_file }}" $TEST_FILTER \
94+ poetry run pytest "${{ matrix.test_file }}" " $TEST_FILTER" "$TEST_EXPRESSION" \
9395 --cov=src --cov-report=xml:$COVERAGE_FILE --cov-report=term \
9496 -v
9597 continue-on-error : false
You can’t perform that action at this time.
0 commit comments