-
Notifications
You must be signed in to change notification settings - Fork 5
35 lines (30 loc) · 1.09 KB
/
general_checks.yaml
File metadata and controls
35 lines (30 loc) · 1.09 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
name: General checks
on:
push:
branches: [main]
pull_request:
types: [ opened, reopened, ready_for_review, synchronize ] # added `ready_for_review` since draft is skipped
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }}
cancel-in-progress: ${{ ! (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/')) }}
jobs:
check-schema:
uses: Lightning-AI/utilities/.github/workflows/check-schema.yml@main
with:
azure-dir: ''
check-package:
if: github.event.pull_request.draft == false
uses: Lightning-AI/utilities/.github/workflows/check-package.yml@main
with:
actions-ref: main
artifact-name: dist-packages-${{ github.sha }}
import-name: "litlogger"
install-flags: "--extra-index-url https://download.pytorch.org/whl/cpu"
testing-matrix: |
{
"os": ["ubuntu-22.04", "ubuntu-24.04", "macos-14"],
"python-version": ["3.11", "3.12", "3.13"],
}
pre-commit:
uses: Lightning-AI/utilities/.github/workflows/check-precommit.yml@main