mirror of
https://github.com/PaiGramTeam/PamGram.git
synced 2024-11-21 21:58:04 +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
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches:
|
||||
- 'test'
|
||||
- 'test/**'
|
||||
- 'wiki/**'
|
||||
- main
|
||||
paths:
|
||||
- '.github/workflows/**'
|
||||
- 'tests/**'
|
||||
pull_request:
|
||||
types: [ opened, synchronize ]
|
||||
paths:
|
||||
- 'tests/**'
|
||||
|
||||
jobs:
|
||||
pytest:
|
||||
|
Loading…
Reference in New Issue
Block a user