-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (35 loc) · 1.15 KB
/
ci-call.yml
File metadata and controls
41 lines (35 loc) · 1.15 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
name: CI
on:
workflow_dispatch:
push:
branches: [ main ]
pull_request:
branches: [ main ]
types: [opened, synchronize, reopened, ready_for_review]
permissions:
contents: read
pull-requests: read
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
run-ci:
strategy:
matrix:
os: [ubuntu-latest]
python-version: ["3.10", "3.13"]
if: >
(github.event_name != 'pull_request' || github.event.pull_request.draft == false) &&
github.actor != 'github-actions[bot]' &&
!(github.event_name == 'push' && startsWith(github.event.head_commit.message, 'bump:'))
uses: AllenNeuralDynamics/galen-uv-workflows/.github/workflows/ci.yml@v2
with:
os: ${{ matrix.os }}
python-version: ${{ matrix.python-version }}
package-name: aind_zarr_utils
run-mypy: true
secrets:
# Passed on to `uv sync` as a git `url.insteadOf` credential, so
# internal or private git dependencies pinned in [tool.uv.sources]
# can be cloned. Harmless to leave in when all deps are public.
repo-token: ${{ secrets.GITHUB_TOKEN }}