From 237900f69d5902c926bb893bd2b309d83bfb8a6e Mon Sep 17 00:00:00 2001 From: Robert Sachunsky <38561704+bertsky@users.noreply.github.com> Date: Wed, 12 Apr 2023 23:41:03 +0200 Subject: [PATCH] GHA CI: add debug session --- .github/workflows/test.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4146b0c..8b90582 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,8 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.7', '3.8', '3.9'] - + python-version: ['3.7', '3.8', '3.9', '3.10'] steps: - uses: actions/checkout@v3 - name: Set up Python @@ -31,11 +30,14 @@ jobs: - name: Cache models uses: actions/cache@v3 with: - key: detectron-models + key: models path: /home/runner/.local/share/ocrd-resources/ocrd-sbb-binarize/* - name: Install dependencies for test # also downloads models, if not already present run: make models test/assets - name: Run tests run: make test + - name: Setup upterm session when failure + if: failure() + uses: lhotari/action-upterm@v1