diff options
| author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2023-02-11 18:16:04 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-11 18:16:04 +0100 |
| commit | 3a5dddf24f9d4d8959194b0cd3c6a7dd0cbd73ae (patch) | |
| tree | dd154599341f13097058050518af3b9424dde4e9 /.github/workflows | |
| parent | 9668c166e88cd71e517cacfb8d266b75047604f7 (diff) | |
| download | rneovim-3a5dddf24f9d4d8959194b0cd3c6a7dd0cbd73ae.tar.gz rneovim-3a5dddf24f9d4d8959194b0cd3c6a7dd0cbd73ae.tar.bz2 rneovim-3a5dddf24f9d4d8959194b0cd3c6a7dd0cbd73ae.zip | |
ci: show all logs at the end of a run (#22226)
* ci: show all logs at the end of a run
The current CI won't show the logs on error due to early exit. This will
at least show the logs, although for all tests at once.
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/ci.yml | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 205a8e1615..082d0babb3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -211,6 +211,9 @@ jobs: - name: Setup common environment variables run: ./.github/workflows/env.sh ${{ matrix.flavor }} + - name: Create log dir + run: mkdir -p "${LOG_DIR}" + - name: Install apt packages if: matrix.os == 'linux' run: ./.github/scripts/install_deps_ubuntu.sh @@ -242,9 +245,6 @@ jobs: cmake -B build -G Ninja ${CMAKE_FLAGS} cmake --build build - - name: Prepare sanitizer - run: ./ci/run_tests.sh prepare_sanitizer - - if: "!cancelled()" name: Determine if run should be aborted id: abort_job @@ -272,6 +272,10 @@ jobs: name: Installtests run: ./ci/run_tests.sh installtests + - if: success() || failure() && steps.abort_job.outputs.status == 'success' + name: Show logs + run: cat $(find "$LOG_DIR" -type f) + old_cmake: name: Test oldest supported cmake runs-on: ubuntu-22.04 |