mirror of
https://github.com/qurator-spk/sbb_binarization.git
synced 2025-07-05 17:09:54 +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
|
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…
Add table
Add a link
Reference in a new issue