mirror of
https://github.com/ddworken/hishtory.git
synced 2025-02-09 07:01:55 +01:00
Enable tmate for failing tests
This commit is contained in:
parent
712c0e3266
commit
f5e5708b09
6
.github/workflows/go-test.yml
vendored
6
.github/workflows/go-test.yml
vendored
@ -21,7 +21,6 @@ jobs:
|
|||||||
uses: actions/setup-go@v3
|
uses: actions/setup-go@v3
|
||||||
with:
|
with:
|
||||||
go-version: 1.18
|
go-version: 1.18
|
||||||
# - uses: mxschmitt/action-tmate@v3
|
|
||||||
- name: Go test
|
- name: Go test
|
||||||
shell: bash
|
shell: bash
|
||||||
if: ${{ !startsWith(github.event.head_commit.message, 'Release') }}
|
if: ${{ !startsWith(github.event.head_commit.message, 'Release') }}
|
||||||
@ -34,3 +33,8 @@ jobs:
|
|||||||
sudo hostname ghaction-runner-hostname || true # Set a consistent hostname so we can run tests that depend on it
|
sudo hostname ghaction-runner-hostname || true # Set a consistent hostname so we can run tests that depend on it
|
||||||
sudo scutil --set HostName ghaction-runner-hostname || true
|
sudo scutil --set HostName ghaction-runner-hostname || true
|
||||||
make test
|
make test
|
||||||
|
- name: Setup tmate session
|
||||||
|
if: ${{ failure() }}
|
||||||
|
uses: mxschmitt/action-tmate@v3
|
||||||
|
with:
|
||||||
|
limit-access-to-actor: true
|
Loading…
Reference in New Issue
Block a user