Merge pull request #1167 from Badgerati/Issue-1030 #902
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: Pode CI Coverage | |
on: | |
push: | |
branches: | |
- 'master' | |
- 'develop' | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Install Invoke-Build | |
shell: pwsh | |
run: | | |
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 | |
Install-Module -Name InvokeBuild -RequiredVersion '5.5.1' -Force | |
- name: Run Pester Tests | |
shell: pwsh | |
env: | |
PODE_COVERALLS_TOKEN: ${{ secrets.PODE_COVERALLS_TOKEN }} | |
PODE_RUN_CODE_COVERAGE: false | |
run: | | |
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 | |
Invoke-Build Test |