Update codecov/codecov-action to v4. #187
This file contains 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: Components Tests on MacOS | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
component-tests-on-macos: | |
runs-on: macos-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12' | |
cache: 'pip' # caching pip dependencies | |
- name: Install dependencies | |
run: pip install -r ./Scripts/etc/requirements.txt | |
- name: Apply pester tests | |
shell: pwsh | |
run: | | |
$PSVersionTable | |
"ErrorActionPreference: $ErrorActionPreference" | |
./Scripts/install.ps1 | |
. ./Tests/Helpers/Register.Components.ps1 | |
$config = New-PesterConfiguration | |
$config.Run.PassThru = $true | |
$config.Run.Path = './Tests/Components/' | |
$config.Output.Verbosity = "Detailed" | |
Invoke-Pester -Configuration $config |