From ba12e94ff7ef77bf357439b4af8fff490f60caa6 Mon Sep 17 00:00:00 2001 From: Joel Rosdahl Date: Sat, 22 Aug 2020 20:12:49 +0200 Subject: [PATCH] build.yaml: Correct name of directory with test results MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit As of d575526c91a8e0167a249760d63510e7de67ed23 the test results are stored in “testdir/*” instead of “testdir.*”. --- .github/workflows/build.yaml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 88c423812..6eb654fbc 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -38,16 +38,16 @@ jobs: ENABLE_CACHE_CLEANUP_TESTS: true CTEST_OUTPUT_ON_FAILURE: ON - - name: Collect testdirs from failed tests + - name: Collect testdir from failed tests if: failure() - run: zip -r testdirs.zip ${{ matrix.config.BUILDDIR }}/testdir.* -x testdir.failed + run: zip -r testdir.zip ${{ matrix.config.BUILDDIR }}/testdir - - name: Upload testdirs from failed tests + - name: Upload testdir from failed tests if: failure() uses: actions/upload-artifact@v2 with: - name: ${{ matrix.config.name }} - testdirs.zip - path: testdirs.zip + name: ${{ matrix.config.name }} - testdir.zip + path: testdir.zip # These mimic the old Travis tests that are not replaced by standard_tests: specific_tests: @@ -223,14 +223,14 @@ jobs: shell: bash run: ci/build - - name: Collect testdirs from failed tests + - name: Collect testdir from failed tests if: failure() - run: zip -r testdirs.zip ${{ matrix.config.BUILDDIR }}/testdir.* -x testdir.failed + run: zip -r testdir.zip ${{ matrix.config.BUILDDIR }}/testdir # TODO: in case of build-and-verify-package* the BUILDDIR is set within those scripts. - - name: Upload testdirs from failed tests + - name: Upload testdir from failed tests if: failure() uses: actions/upload-artifact@v2 with: - name: ${{ matrix.config.name }} - testdirs.zip - path: testdirs.zip + name: ${{ matrix.config.name }} - testdir.zip + path: testdir.zip -- 2.47.3