Update badge and upload logs if tests fail
This commit is contained in:
parent
778745b5c2
commit
853af58124
2 changed files with 17 additions and 1 deletions
16
.github/workflows/build.yaml
vendored
16
.github/workflows/build.yaml
vendored
|
|
@ -57,9 +57,17 @@ jobs:
|
|||
export GOPATH=$HOME/go
|
||||
./run_tests --install --update --report messages --quiet
|
||||
name: 'Run the tests'
|
||||
id: run_tests
|
||||
env:
|
||||
VIMSPECTOR_MIMODE: gdb
|
||||
|
||||
- name: "Upload test logs"
|
||||
uses: actions/upload-artifact@v2
|
||||
if: steps.run_tests.outcome == 'failure'
|
||||
with:
|
||||
name: 'test-logs-${{ runner.os }}'
|
||||
path: 'tests/logs'
|
||||
|
||||
- run: ./make_package linux ${{ github.run_id }}
|
||||
name: 'Package'
|
||||
|
||||
|
|
@ -98,9 +106,17 @@ jobs:
|
|||
|
||||
- run: ./run_tests --install --update --report messages --quiet
|
||||
name: 'Run the tests'
|
||||
id: run_tests
|
||||
env:
|
||||
VIMSPECTOR_MIMODE: lldb
|
||||
|
||||
- name: "Upload test logs"
|
||||
uses: actions/upload-artifact@v2
|
||||
if: steps.run_tests.outcome == 'failure'
|
||||
with:
|
||||
name: 'test-logs-${{ runner.os }}'
|
||||
path: 'tests/logs'
|
||||
|
||||
- run: ./make_package macos ${{ github.run_id }}
|
||||
name: 'Package'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue