mirror of
https://github.com/neovim/neovim.git
synced 2026-01-06 19:39:53 +10:00
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.
This commit is contained in:
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user