[DART-AG4lPLcaJSzN] REFACTOR-3 follow-on: HostWorkerFixture for in-pr… #491
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] | |
| paths-ignore: | |
| - '.dartai/**' | |
| - '.dartai-locks.json' | |
| - 'docs/spikes/**' | |
| - 'docs/solutions/**' | |
| - '**/*.md' | |
| pull_request: | |
| branches: [main] | |
| paths-ignore: | |
| - '.dartai/**' | |
| - '.dartai-locks.json' | |
| - 'docs/spikes/**' | |
| - 'docs/solutions/**' | |
| - '**/*.md' | |
| # Cancel earlier runs on the same ref/PR when new commits arrive. | |
| concurrency: | |
| group: ci-${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| strategy: | |
| matrix: | |
| os: [windows-latest, ubuntu-latest, macos-latest] | |
| fail-fast: false | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install Pester | |
| shell: pwsh | |
| run: | | |
| Install-Module -Name Pester -MinimumVersion 5.0 -Force -Scope CurrentUser | |
| - name: Run Pester Tests | |
| shell: pwsh | |
| run: | | |
| $config = New-PesterConfiguration | |
| $config.Run.Path = './tests' | |
| $config.Output.Verbosity = 'Detailed' | |
| $config.Run.Exit = $true | |
| Invoke-Pester -Configuration $config |