Skip to content

Commit

Permalink
attempt to add ssh debuging
Browse files Browse the repository at this point in the history
  • Loading branch information
lobis committed Nov 29, 2023
1 parent 3215d7d commit c2a1e5d
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@ name: Build and Test

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
pull_request:
push:
branches: [main]
Expand Down Expand Up @@ -35,6 +41,12 @@ jobs:
miniforge-variant: Mambaforge
use-mamba: true

- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}
with:
limit-access-to-actor: true

- name: Install cmake via conda
run: |
conda env list
Expand All @@ -55,7 +67,7 @@ jobs:
geant4-config --prefix
geant4-config --cflags
- name: Build the c++ to run tests
- name: Build the c++ library to run tests
run: |
cd application
mkdir -p build
Expand Down

0 comments on commit c2a1e5d

Please sign in to comment.