From: Viktor Szakats Date: Thu, 27 Feb 2025 17:58:18 +0000 (+0100) Subject: GHA/linux: improve 'test configs' step, don't set `TFLAGS` for pytest X-Git-Tag: curl-8_13_0~322 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6913c9b6ab9b034dfceda181e0b3dc0d7f583ef9;p=thirdparty%2Fcurl.git 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 --- diff --git a/.github/workflows/http3-linux.yml b/.github/workflows/http3-linux.yml index f6055ee470..84f49a1908 100644 --- a/.github/workflows/http3-linux.yml +++ b/.github/workflows/http3-linux.yml @@ -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' diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 335773055c..da93c95d39 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -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: |