diff options
author | Christian Brabandt <cb@256bit.org> | 2024-05-15 21:48:11 +0200 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2024-05-15 21:48:11 +0200 |
commit | 8314de8fd4aa4d18fc524f960f5d683a2d8cba32 (patch) | |
tree | a3e093bdda5bee335de79342a39960de86c80bd9 /.github/workflows | |
parent | eff20eb35d2dba413c6d115291dd9ddea705e802 (diff) |
CI: Upload failed screendump tests when run in github actions
It's a bit of a pain to debug failing screendump tests without knowing
exactly what went wrong. Therefore include actions/upload-artifact for
the Github CI runners and have them uploaded those failing screen dump
tests automatically.
Let's add this step to each of the Linux/MacOS/Windows workflows but do
not duplicate the code, factor it out to a single file
.github/actions/screendump/action.yml and reference this one from the
main ci.yml file
Example:
https://github.com/chrisbra/vim/actions/runs/9085493619
closes: #14771
Co-authored-by: dundargoc <gocdundar@gmail.com>
Co-authored-by: Aliaksei Budavei <0x000c70@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/ci.yml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 74a6674c5d..1110665ec1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -270,6 +270,9 @@ jobs: do_test() { sg audio "sg $(id -gn) '$*'"; } do_test make ${SHADOWOPT} ${TEST} + - if: ${{ !cancelled() }} + uses: ./.github/actions/screendump + - name: Vim tags if: contains(matrix.extra, 'vimtags') run: | @@ -396,6 +399,9 @@ jobs: run: | make ${TEST} + - if: ${{ !cancelled() }} + uses: ./.github/actions/screendump + windows: runs-on: windows-2022 @@ -691,6 +697,9 @@ jobs: nmake -nologo -f Make_mvc.mak tiny VIMPROG=..\vim || exit 1 ) + - if: ${{ !cancelled() }} + uses: ./.github/actions/screendump + - name: Generate gcov files if: matrix.coverage shell: msys2 {0} |