🎨 仅在推送文件到 main 分支时运行CI分支并且添加包含路径仅限于单元测试

This commit is contained in:
洛水居室 2022-09-12 16:39:44 +08:00
parent 3fa18ef06a
commit 13e9e2bf1c
No known key found for this signature in database
GPG Key ID: C9DE87DA724B88FC

View File

@ -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: