forked from docling-project/docling
-
Notifications
You must be signed in to change notification settings - Fork 0
50 lines (46 loc) · 1.45 KB
/
Copy pathci-main.yml
File metadata and controls
50 lines (46 loc) · 1.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: "Run CI Main"
on:
push:
branches:
- "main"
schedule:
- cron: "17 3 * * *"
workflow_dispatch:
inputs:
full_matrix:
description: "Run the full Python and package-compatibility matrix."
type: boolean
default: false
run_cross_platform:
description: "Run Windows and macOS smoke lanes."
type: boolean
default: false
concurrency:
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
cancel-in-progress: true
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
jobs:
code-checks:
permissions:
contents: read
pull-requests: read
uses: ./.github/workflows/checks.yml
with:
run_lint: true
force_all_checks: true
run_package_compat: ${{ github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && inputs.full_matrix) }}
run_windows: ${{ github.event_name == 'workflow_dispatch' && (inputs.full_matrix || inputs.run_cross_platform) }}
run_macos: ${{ github.event_name == 'workflow_dispatch' && (inputs.full_matrix || inputs.run_cross_platform) }}
use_tach: false
python_versions: >-
${{
(
github.event_name == 'schedule' ||
(github.event_name == 'workflow_dispatch' && inputs.full_matrix)
) &&
'["3.10", "3.11", "3.12", "3.13", "3.14"]' ||
'["3.10"]'
}}
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}