mirror of
https://github.com/RubyMetric/chsrc
synced 2025-11-18 23:57:43 +08:00
Update lefthook.yml
This commit is contained in:
12
lefthook.yml
12
lefthook.yml
@@ -9,10 +9,20 @@
|
|||||||
|
|
||||||
pre-commit:
|
pre-commit:
|
||||||
only:
|
only:
|
||||||
- ref: dev
|
- ref: dev|main
|
||||||
jobs:
|
jobs:
|
||||||
|
- name: 测试编译
|
||||||
|
run: just
|
||||||
|
|
||||||
- name: 测试 xy.h
|
- name: 测试 xy.h
|
||||||
run: just test-xy
|
run: just test-xy
|
||||||
|
glob:
|
||||||
|
- lib/xy.h
|
||||||
|
- test/xy.c
|
||||||
|
|
||||||
- name: 测试 framework
|
- name: 测试 framework
|
||||||
run: just test-fw
|
run: just test-fw
|
||||||
|
glob:
|
||||||
|
- "src/framework/*.{c,h}"
|
||||||
|
- src/chsrc-main.c
|
||||||
|
- test/fw.c
|
||||||
|
|||||||
Reference in New Issue
Block a user