docs: add tuirec recording guidance + ocgv/shot/F7 demo GIFs #35
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 Tests | |
| on: | |
| push: | |
| branches: [ main, develop ] | |
| pull_request: | |
| branches: [ main, develop ] | |
| merge_group: | |
| types: [ checks_requested ] | |
| jobs: | |
| ci: | |
| name: dotnet | |
| strategy: | |
| matrix: | |
| os: [ windows-latest, macos-latest, ubuntu-latest ] | |
| runs-on: ${{ matrix.os }} | |
| env: | |
| DOTNET_NOLOGO: true | |
| DOTNET_GENERATE_ASPNET_CERTIFICATE: false | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Install dotnet | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| global-json-file: global.json | |
| cache: true | |
| cache-dependency-path: '**/*.csproj' | |
| # The module targets PS 7.6+ (net10.0), and the Pester tests Import-Module | |
| # it. GitHub runners ship PS 7.4, which rejects the manifest, so install | |
| # PS 7.6 and put it ahead of the bundled pwsh on PATH. | |
| - name: Install PowerShell 7.6+ | |
| shell: bash | |
| run: | | |
| dotnet tool install --global --version "7.6.*" PowerShell | |
| echo "$HOME/.dotnet/tools" >> "$GITHUB_PATH" | |
| - name: Verify PowerShell version | |
| shell: pwsh | |
| run: | | |
| "Using PowerShell $($PSVersionTable.PSVersion) at $((Get-Command pwsh).Source)" | |
| if ($PSVersionTable.PSVersion -lt [version]'7.6') { | |
| throw "Expected PowerShell 7.6+, got $($PSVersionTable.PSVersion)" | |
| } | |
| - name: Install PSResources | |
| shell: pwsh | |
| run: ./tools/installPSResources.ps1 | |
| # Dev-loop CI builds and runs the xUnit suite. Packaging/publishing | |
| # (Publish-PSResource) is a release activity that validates the manifest | |
| # against the running PowerShell host — the module targets PS 7.6+, but | |
| # the GitHub runners ship PS 7.4, so that step lives in release.yml (main). | |
| - name: Build and test | |
| shell: pwsh | |
| run: Invoke-Build -Configuration Release Build, Test | |
| - name: Upload module | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: PSTui-module-${{ matrix.os }} | |
| path: module |