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'
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
For a tutorial and usage overview, take a look at the
|
||||
[Vimspector website][website]
|
||||
|
||||
[](https://dev.azure.com/puremouron/Vimspector/_build/latest?definitionId=1&branchName=master) [](https://gitter.im/vimspector/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
|
||||
 [](https://gitter.im/vimspector/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
|
||||
|
||||
<!--ts-->
|
||||
* [Features and Usage](#features-and-usage)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue