-
Notifications
You must be signed in to change notification settings - Fork 5
42 lines (35 loc) · 1.19 KB
/
ci-checks.yml
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
name: General checks
on:
push:
branches: [main, "release/*"]
pull_request:
branches: [main, "release/*"]
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-precommit:
uses: Lightning-AI/utilities/.github/workflows/check-precommit.yml@v0.11.3.post0
check-typing:
uses: Lightning-AI/utilities/.github/workflows/check-typing.yml@v0.11.3
with:
actions-ref: v0.11.3.post0
check-schema:
uses: Lightning-AI/utilities/.github/workflows/check-schema.yml@v0.11.3.post0
with:
azure-dir: ".azure"
check-package:
uses: Lightning-AI/utilities/.github/workflows/check-package.yml@v0.11.3.post0
with:
actions-ref: v0.11.3.post0
import-name: "lightning_hivemind"
artifact-name: dist-packages-${{ github.sha }}
testing-matrix: |
{
"os": ["ubuntu-latest", "macos-latest"],
"python-version": ["3.9"]
}
# check-docs:
# uses: Lightning-AI/utilities/.github/workflows/check-docs.yml@main
# with:
# requirements-file: "docs/requirements.txt"