GHA CI: add debug session

pull/59/head
Robert Sachunsky 2 years ago committed by GitHub
parent ac9bebf2b5
commit 237900f69d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -11,8 +11,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
python-version: ['3.7', '3.8', '3.9'] python-version: ['3.7', '3.8', '3.9', '3.10']
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Set up Python - name: Set up Python
@ -31,11 +30,14 @@ jobs:
- name: Cache models - name: Cache models
uses: actions/cache@v3 uses: actions/cache@v3
with: with:
key: detectron-models key: models
path: /home/runner/.local/share/ocrd-resources/ocrd-sbb-binarize/* path: /home/runner/.local/share/ocrd-resources/ocrd-sbb-binarize/*
- name: Install dependencies for test - name: Install dependencies for test
# also downloads models, if not already present # also downloads models, if not already present
run: make models test/assets run: make models test/assets
- name: Run tests - name: Run tests
run: make test run: make test
- name: Setup upterm session when failure
if: failure()
uses: lhotari/action-upterm@v1

Loading…
Cancel
Save