Files
2026-04-29 07:53:57 +02:00

36 lines
1.5 KiB
YAML

name: "Run CI"
on:
schedule: # will run only on the default branch (main)
# Nightly build at 3:42 A.M.
- cron: "42 3 */1 * *"
pull_request:
types: [opened, reopened, synchronize]
push:
branches:
- "**"
- "!main"
- "!gh-pages"
env:
# disable keyring (https://github.com/actions/runner-images/issues/6185):
PYTHON_KEYRING_BACKEND: keyring.backends.null.Keyring
concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
code-checks:
if: ${{ github.event_name == 'push' || (github.event.pull_request.head.repo.full_name != 'docling-project/docling-parse' && github.event.pull_request.head.repo.full_name != 'docling-project/docling-parse') }}
uses: ./.github/workflows/checks.yml
build-wheels:
if: ${{ github.event_name == 'push' || (github.event.pull_request.head.repo.full_name != 'docling-project/docling-parse' && github.event.pull_request.head.repo.full_name != 'docling-project/docling-parse') }}
uses: ./.github/workflows/wheels.yml
permissions:
id-token: write # needed also if not used (see publish condition)
contents: write # needed also if not used (see publish condition)
rhel-build:
if: ${{ github.event_name == 'push' || (github.event.pull_request.head.repo.full_name != 'docling-project/docling-parse' && github.event.pull_request.head.repo.full_name != 'docling-project/docling-parse') }}
uses: ./.github/workflows/rhel.yml