mirror of
https://github.com/qurator-spk/sbb_binarization.git
synced 2025-06-09 12:19:56 +02:00
GHA CI: add debug session
This commit is contained in:
parent
ac9bebf2b5
commit
237900f69d
1 changed files with 5 additions and 3 deletions
8
.github/workflows/test.yml
vendored
8
.github/workflows/test.yml
vendored
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue