From 013a938ae2ee152a319ba6c84ff19dd68e9fa4a5 Mon Sep 17 00:00:00 2001 From: Logan Drescher <106617880+CodeByDrescher@users.noreply.github.com> Date: Tue, 29 Nov 2022 14:14:30 -0500 Subject: [PATCH] Added failure catch --- .github/workflows/validateCommitSimulator.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/validateCommitSimulator.yml b/.github/workflows/validateCommitSimulator.yml index a9c4ae3..707690c 100644 --- a/.github/workflows/validateCommitSimulator.yml +++ b/.github/workflows/validateCommitSimulator.yml @@ -161,6 +161,10 @@ jobs: working-directory: ${{ github.workspace }} run: python -c "from biosimulators_test_suite.exec_gh_action import ValidateCommitSimulatorGitHubAction; ValidateCommitSimulatorGitHubAction().run(); exit();" + - name: Setup tmate session 3 (if failed) + uses: mxschmitt/action-tmate@v3 + if: ${{ failure() }} + - name: Setup tmate session 3 uses: mxschmitt/action-tmate@v3