Skip to content

Delete .gitlab-ci.yml #36

Delete .gitlab-ci.yml

Delete .gitlab-ci.yml #36

Workflow file for this run

name: Pester
on: push
jobs:
pester-tests:
name: Pester tests
runs-on: windows-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Perform all Pester tests from the SBOMResearcher tests directory
shell: pwsh
run: |
Set-PSRepository psgallery -InstallationPolicy trusted
Install-Module -Name Pester -Confirm:$false -RequiredVersion 5.0.4 -Force
. .\SBOMResearcher.ps1
Invoke-Pester -Script .\tests -OutputFile "./Pester.XML" -OutputFormat "NUnitXML" -Passthru -Verbose
- name: Upload test results
uses: actions/upload-artifact@v3
with:
name: Pester-Version-Tests
path: Pester.XML
if: ${{ always() }}