GHA/linux: improve 'test configs' step, don't set TFLAGS for pytest

- omit comments from th config dump, show filenames for each line.
- `TFLAGS` is not used by pytest, don't set it.

Closes #16514
This commit is contained in:
Viktor Szakats 2025-02-27 18:58:18 +01:00
parent 953cd694dc
commit 6913c9b6ab
No known key found for this signature in database
GPG Key ID: B5ABD165E2AEF201
2 changed files with 2 additions and 8 deletions

View File

@ -454,9 +454,7 @@ jobs:
grep -F '#define' bld/lib/curl_config.h | sort || true
- name: 'test configs'
run: |
cat bld/tests/config || true
cat bld/tests/http/config.ini || true
run: grep -H -v '^#' bld/tests/config bld/tests/http/config.ini || true
- name: 'build'
run: |
@ -500,7 +498,6 @@ jobs:
- name: 'run pytest event based'
env:
TFLAGS: '${{ matrix.build.tflags }}'
CURL_TEST_EVENT: 1
CURL_CI: github
PYTEST_ADDOPTS: '--color=yes'

View File

@ -612,9 +612,7 @@ jobs:
grep -F '#define' bld/lib/curl_config.h | sort || true
- name: 'test configs'
run: |
cat bld/tests/config || true
cat bld/tests/http/config.ini || true
run: grep -H -v '^#' bld/tests/config bld/tests/http/config.ini || true
- name: 'build'
run: |
@ -690,7 +688,6 @@ jobs:
- name: 'run pytest'
if: contains(matrix.build.install_steps, 'pytest')
env:
TFLAGS: '${{ matrix.build.tflags }}'
CURL_CI: github
PYTEST_ADDOPTS: '--color=yes'
run: |