doc(readme) Minor fixes in badges #22
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: CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - "**" | |
| workflow_dispatch: | |
| concurrency: | |
| group: tests-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| pwsh-tests: | |
| name: PowerShell tests | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Install Pester and PSScriptAnalyzer | |
| run: | | |
| pwsh -Command "Install-Module Pester -MinimumVersion 5.7.0 -Force -Scope CurrentUser" | |
| pwsh -Command "Install-Module PSScriptAnalyzer -Force -Scope CurrentUser" | |
| - name: Run PowerShell test suite | |
| shell: pwsh | |
| env: | |
| TERM: dumb | |
| NO_COLOR: "1" | |
| run: | | |
| $PSStyle.OutputRendering = 'PlainText' | |
| ./tests/run-tests.ps1 | |
| - name: Upload Pester results | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: pester-results | |
| path: tests/pwsh/results/pester-results.xml | |
| if-no-files-found: warn | |
| retention-days: 7 |