mirror of
https://github.com/qurator-spk/eynollah.git
synced 2025-06-08 11:49:55 +02:00
update GitHub actions
This commit is contained in:
parent
a5c885e151
commit
9ad7b4f520
2 changed files with 5 additions and 3 deletions
6
.github/workflows/test-eynollah.yml
vendored
6
.github/workflows/test-eynollah.yml
vendored
|
@ -14,8 +14,8 @@ jobs:
|
||||||
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
|
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/cache@v2
|
- uses: actions/cache@v4
|
||||||
id: model_cache
|
id: model_cache
|
||||||
with:
|
with:
|
||||||
path: models_eynollah
|
path: models_eynollah
|
||||||
|
@ -24,7 +24,7 @@ jobs:
|
||||||
if: steps.model_cache.outputs.cache-hit != 'true'
|
if: steps.model_cache.outputs.cache-hit != 'true'
|
||||||
run: make models
|
run: make models
|
||||||
- name: Set up Python ${{ matrix.python-version }}
|
- name: Set up Python ${{ matrix.python-version }}
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
|
|
|
@ -31,6 +31,8 @@ dependencies = [
|
||||||
"setuptools >= 61",
|
"setuptools >= 61",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
# TODO: test dependencies
|
||||||
|
|
||||||
[project.scripts]
|
[project.scripts]
|
||||||
eynollah = "eynollah.eynollah.cli:main"
|
eynollah = "eynollah.eynollah.cli:main"
|
||||||
ocrd-eynollah-segment = "eynollah.eynollah.ocrd_cli:main"
|
ocrd-eynollah-segment = "eynollah.eynollah.ocrd_cli:main"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue