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:
parent
953cd694dc
commit
6913c9b6ab
5
.github/workflows/http3-linux.yml
vendored
5
.github/workflows/http3-linux.yml
vendored
@ -454,9 +454,7 @@ jobs:
|
|||||||
grep -F '#define' bld/lib/curl_config.h | sort || true
|
grep -F '#define' bld/lib/curl_config.h | sort || true
|
||||||
|
|
||||||
- name: 'test configs'
|
- name: 'test configs'
|
||||||
run: |
|
run: grep -H -v '^#' bld/tests/config bld/tests/http/config.ini || true
|
||||||
cat bld/tests/config || true
|
|
||||||
cat bld/tests/http/config.ini || true
|
|
||||||
|
|
||||||
- name: 'build'
|
- name: 'build'
|
||||||
run: |
|
run: |
|
||||||
@ -500,7 +498,6 @@ jobs:
|
|||||||
|
|
||||||
- name: 'run pytest event based'
|
- name: 'run pytest event based'
|
||||||
env:
|
env:
|
||||||
TFLAGS: '${{ matrix.build.tflags }}'
|
|
||||||
CURL_TEST_EVENT: 1
|
CURL_TEST_EVENT: 1
|
||||||
CURL_CI: github
|
CURL_CI: github
|
||||||
PYTEST_ADDOPTS: '--color=yes'
|
PYTEST_ADDOPTS: '--color=yes'
|
||||||
|
|||||||
5
.github/workflows/linux.yml
vendored
5
.github/workflows/linux.yml
vendored
@ -612,9 +612,7 @@ jobs:
|
|||||||
grep -F '#define' bld/lib/curl_config.h | sort || true
|
grep -F '#define' bld/lib/curl_config.h | sort || true
|
||||||
|
|
||||||
- name: 'test configs'
|
- name: 'test configs'
|
||||||
run: |
|
run: grep -H -v '^#' bld/tests/config bld/tests/http/config.ini || true
|
||||||
cat bld/tests/config || true
|
|
||||||
cat bld/tests/http/config.ini || true
|
|
||||||
|
|
||||||
- name: 'build'
|
- name: 'build'
|
||||||
run: |
|
run: |
|
||||||
@ -690,7 +688,6 @@ jobs:
|
|||||||
- name: 'run pytest'
|
- name: 'run pytest'
|
||||||
if: contains(matrix.build.install_steps, 'pytest')
|
if: contains(matrix.build.install_steps, 'pytest')
|
||||||
env:
|
env:
|
||||||
TFLAGS: '${{ matrix.build.tflags }}'
|
|
||||||
CURL_CI: github
|
CURL_CI: github
|
||||||
PYTEST_ADDOPTS: '--color=yes'
|
PYTEST_ADDOPTS: '--color=yes'
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user