Skip to content

Commit

Permalink
Launch tmate in case of error, also when not explicitly selected
Browse files Browse the repository at this point in the history
  • Loading branch information
willend committed Nov 29, 2023
1 parent a60ed35 commit 5a96b59
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/basictest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -229,9 +229,10 @@ jobs:
if [ "x$(uname)" == "xLinux" ]; then
../install_mcstas/bin/${MCRUN_EXECUTABLE} --format=NeXus --IDF templateSANS_Mantid.instr lambda=6
fi
exit -1
- name: Setup tmate session for manual debugging
uses: mxschmitt/action-tmate@v3
if: always() && inputs.manual-debugging == true && (steps.nexus-test.outcome != 'success')
if: always() && (inputs.manual-debugging == true || steps.nexus-test.outcome != 'success')
with:
limit-access-to-actor: true

0 comments on commit 5a96b59

Please sign in to comment.