mirror of
https://github.com/PaiGramTeam/MibooGram.git
synced 2024-11-25 18:04:00 +00:00
🎨 仅在推送文件到 main
分支时运行CI分支并且添加包含路径仅限于单元测试
This commit is contained in:
parent
3fa18ef06a
commit
13e9e2bf1c
13
.github/workflows/test.yml
vendored
13
.github/workflows/test.yml
vendored
@ -1,11 +1,16 @@
|
|||||||
name: Test
|
name: Test
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- 'test'
|
- main
|
||||||
- 'test/**'
|
paths:
|
||||||
- 'wiki/**'
|
- '.github/workflows/**'
|
||||||
|
- 'tests/**'
|
||||||
|
pull_request:
|
||||||
|
types: [ opened, synchronize ]
|
||||||
|
paths:
|
||||||
|
- 'tests/**'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
pytest:
|
pytest:
|
||||||
|
Loading…
Reference in New Issue
Block a user