Skip to content

Commit

Permalink
Add tmate debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
jsbrittain committed Oct 10, 2024
1 parent b1bc7ed commit 4fe15c2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
name: Unit and integration tests
on:
workflow_dispatch:
inputs:
debug_enabled:
type: boolean
description: "Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)"
required: false
default: false
push:
branches:
- main
Expand All @@ -27,6 +33,9 @@ jobs:
- name: Run unit tests
run: |
uvx nox -s unit_tests
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}
- name: Run system tests
run: |
uvx nox -s system_tests
Expand Down

0 comments on commit 4fe15c2

Please sign in to comment.