Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 15 additions & 6 deletions .github/workflows/PR-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# | Mikachu2333 <mikachu2333@zohomail.com>
# |
# Created On : <2025-06-19>
# Last Modified : <2025-08-07>
# Last Modified : <2025-08-08>
#
# Test PR
# ---------------------------------------------------------------
Expand All @@ -14,14 +14,17 @@ name: 测试PR

on:
pull_request:
types: [opened,
synchronize, # 后续提交
ready_for_review, # draft PR 转为正式 PR
review_requested,
reopened]
types: [
opened,
ready_for_review, # draft PR 转为正式 PR
review_requested,
reopened,
]
paths:
- "src/**"
- "lib/**"
- "test/**"
workflow_dispatch:

jobs:
test-on-ubuntu:
Expand Down Expand Up @@ -50,6 +53,12 @@ jobs:
- name: 检出代码
uses: actions/checkout@v4

- name: 创建测试文件
shell: powershell
run: |
New-Item -Path "$env:USERPROFILE\Documents\Powershell\Microsoft.PowerShell_profile.ps1" -ItemType File -Force
New-Item -Path "$env:USERPROFILE\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1" -ItemType File -Force

- name: 安装依赖
run: |
choco install just
Expand Down
Loading
Loading