Skip to content

Commit

Permalink
wip: add tmate
Browse files Browse the repository at this point in the history
  • Loading branch information
Yohe-Am committed Jan 13, 2025
1 parent ee915c1 commit adc6a9b
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
name: test suite
run-name: test suite for ${{ github.event.pull_request.title || github.ref }}
on:
workflow_dispatch:
inputs:
tmate_enabled:
type: boolean
description: |
Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate).
This disables all but the test-full jobs.
required: false
default: false
push:
branches:
- main
Expand Down Expand Up @@ -64,6 +73,11 @@ jobs:
platform: darwin/aarch64
# - os: windows-latest
steps:
- name: Setup tmate session
if: ${{ github.event_name == 'workflow_dispatch' && inputs.tmate_enabled }}
uses: mxschmitt/action-tmate@v3
with:
detached: true
- uses: actions/checkout@v4
- uses: dsherret/rust-toolchain-file@v1
- uses: denoland/setup-deno@v1
Expand Down

0 comments on commit adc6a9b

Please sign in to comment.