refactor(profile): 重构 PowerShell 环境初始化逻辑为模块化函数 #48
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: PowerShell Tests | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| jobs: | |
| test: | |
| name: Run Pester Tests | |
| runs-on: windows-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Perform a Pester test | |
| shell: pwsh | |
| run: | |
| Invoke-Pester -Configuration (./PesterConfiguration.ps1) |