From 0a652280c92bd23fc4d0e31cfaeada1ba113510b Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 29 Sep 2022 12:26:04 +0200 Subject: [PATCH] GHA: build tests in a separate step from the running of them ... to make the output smaller for when you want to look at test failures. Removed the examples build from msh3 Closes #9619 --- .github/workflows/linux.yml | 5 ++++- .github/workflows/macos.yml | 5 ++++- .github/workflows/msh3.yml | 6 +++--- .github/workflows/ngtcp2-gnutls.yml | 5 ++++- .github/workflows/ngtcp2-wolfssl.yml | 5 ++++- .github/workflows/openssl3.yml | 5 ++++- .github/workflows/torture.yml | 5 ++++- .github/workflows/wolfssl.yml | 5 ++++- 8 files changed, 31 insertions(+), 10 deletions(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 959e2bc1b..a468680bc 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -166,7 +166,10 @@ jobs: - run: make V=1 examples name: 'make examples' + - run: make V=1 -C tests + name: 'make tests' + - run: make V=1 test-ci - name: 'test' + name: 'run tests' env: TFLAGS: "${{ matrix.build.tflags }}" diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 6fa5bfbe8..4ad8e39c2 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -110,8 +110,11 @@ jobs: - run: make V=1 examples name: 'make examples' + - run: make V=1 -C tests + name: 'make tests' + - run: make V=1 test-ci - name: 'test' + name: 'run tests' env: TFLAGS: "${{ matrix.build.tflags }} ~1452" diff --git a/.github/workflows/msh3.yml b/.github/workflows/msh3.yml index b58be815a..d536668d6 100644 --- a/.github/workflows/msh3.yml +++ b/.github/workflows/msh3.yml @@ -64,10 +64,10 @@ jobs: - run: make V=1 name: 'make' - - run: make V=1 examples - name: 'make examples' + - run: make V=1 -C tests + name: 'make tests' - run: make V=1 test-ci - name: 'test' + name: 'run tests' env: TFLAGS: "${{ matrix.build.tflags }}" diff --git a/.github/workflows/ngtcp2-gnutls.yml b/.github/workflows/ngtcp2-gnutls.yml index 41a414981..6e9078124 100644 --- a/.github/workflows/ngtcp2-gnutls.yml +++ b/.github/workflows/ngtcp2-gnutls.yml @@ -85,7 +85,10 @@ jobs: - run: make V=1 examples name: 'make examples' + - run: make V=1 -C tests + name: 'make tests' + - run: make V=1 test-ci - name: 'test' + name: 'run tests' env: TFLAGS: "${{ matrix.build.tflags }}" diff --git a/.github/workflows/ngtcp2-wolfssl.yml b/.github/workflows/ngtcp2-wolfssl.yml index da6594aa2..3f5d57612 100644 --- a/.github/workflows/ngtcp2-wolfssl.yml +++ b/.github/workflows/ngtcp2-wolfssl.yml @@ -77,7 +77,10 @@ jobs: - run: make V=1 examples name: 'make examples' + - run: make V=1 -C tests + name: 'make tests' + - run: make V=1 test-ci - name: 'test' + name: 'run tests' env: TFLAGS: "${{ matrix.build.tflags }}" diff --git a/.github/workflows/openssl3.yml b/.github/workflows/openssl3.yml index a0881722d..5fb7fbf09 100644 --- a/.github/workflows/openssl3.yml +++ b/.github/workflows/openssl3.yml @@ -74,7 +74,10 @@ jobs: - run: make V=1 examples name: 'make examples' + - run: make V=1 -C tests + name: 'make tests' + - run: make V=1 test-ci - name: 'test' + name: 'run tests' env: TFLAGS: "${{ matrix.build.tflags }}" diff --git a/.github/workflows/torture.yml b/.github/workflows/torture.yml index 706f5530e..58353fd35 100644 --- a/.github/workflows/torture.yml +++ b/.github/workflows/torture.yml @@ -54,7 +54,10 @@ jobs: - run: make V=1 name: 'make' + - run: make V=1 -C tests + name: 'make tests' + - run: make V=1 test-torture - name: 'test' + name: 'run tests' env: TFLAGS: "${{ matrix.build.tflags }}" diff --git a/.github/workflows/wolfssl.yml b/.github/workflows/wolfssl.yml index d6bd0aded..e41434f23 100644 --- a/.github/workflows/wolfssl.yml +++ b/.github/workflows/wolfssl.yml @@ -66,7 +66,10 @@ jobs: - run: make V=1 examples name: 'make examples' + - run: make V=1 -C tests + name: 'make tests' + - run: make V=1 test-ci - name: 'test' + name: 'run tests' env: TFLAGS: "${{ matrix.build.tflags }}"