|
|
@ -54,6 +54,13 @@ jobs:
|
|
|
|
coverage html
|
|
|
|
coverage html
|
|
|
|
coverage json
|
|
|
|
coverage json
|
|
|
|
coverage xml
|
|
|
|
coverage xml
|
|
|
|
|
|
|
|
- name: Run tests
|
|
|
|
|
|
|
|
run: pytest --cov --cov-branch --cov-report=xml
|
|
|
|
|
|
|
|
- name: Upload coverage reports to Codecov
|
|
|
|
|
|
|
|
uses: codecov/codecov-action@v5
|
|
|
|
|
|
|
|
with:
|
|
|
|
|
|
|
|
token: ${{ secrets.CODECOV_TOKEN }}
|
|
|
|
|
|
|
|
fail_ci_if_error: false
|
|
|
|
- name: Store coverage results
|
|
|
|
- name: Store coverage results
|
|
|
|
uses: actions/upload-artifact@v4
|
|
|
|
uses: actions/upload-artifact@v4
|
|
|
|
with:
|
|
|
|
with:
|
|
|
@ -63,11 +70,6 @@ jobs:
|
|
|
|
pytest.xml
|
|
|
|
pytest.xml
|
|
|
|
coverage.xml
|
|
|
|
coverage.xml
|
|
|
|
coverage.json
|
|
|
|
coverage.json
|
|
|
|
- name: Upload coverage results
|
|
|
|
|
|
|
|
uses: codecov/codecov-action@v4
|
|
|
|
|
|
|
|
with:
|
|
|
|
|
|
|
|
files: coverage.xml
|
|
|
|
|
|
|
|
fail_ci_if_error: false
|
|
|
|
|
|
|
|
- name: Test standalone CLI
|
|
|
|
- name: Test standalone CLI
|
|
|
|
run: make smoke-test
|
|
|
|
run: make smoke-test
|
|
|
|
- name: Test OCR-D CLI
|
|
|
|
- name: Test OCR-D CLI
|
|
|
|