mirror of
https://github.com/actions/versions-package-tools.git
synced 2025-12-10 11:41:23 +00:00
Clean up build-tool-packages.yml by removing comments
Removed commented-out test run section from workflow.
This commit is contained in:
17
.github/workflows/build-tool-packages.yml
vendored
17
.github/workflows/build-tool-packages.yml
vendored
@@ -169,7 +169,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
if: env.excludewinarm == 'true'
|
if: env.excludewinarm == 'true'
|
||||||
env:
|
env:
|
||||||
VERSION: ${{ inputs.tool-version }}
|
VERSION: ${{ inputs.tool-version }}
|
||||||
run: |
|
run: |
|
||||||
Import-Module Pester
|
Import-Module Pester
|
||||||
@@ -180,21 +180,6 @@ jobs:
|
|||||||
Output = @{ EnableExit = $true }
|
Output = @{ EnableExit = $true }
|
||||||
}
|
}
|
||||||
working-directory: ./tests
|
working-directory: ./tests
|
||||||
|
|
||||||
# - name: Run tests
|
|
||||||
# if: env.excludewinarm == 'true'
|
|
||||||
# env:
|
|
||||||
# VERSION: ${{ inputs.tool-version }}
|
|
||||||
# run: |
|
|
||||||
# Install-Module Pester -Force -Scope CurrentUser -SkipPublisherCheck
|
|
||||||
# Import-Module Pester
|
|
||||||
# $toolName = (Get-Culture).TextInfo.ToTitleCase("${{ inputs.tool-name }}")
|
|
||||||
# Invoke-Pester -Configuration @{
|
|
||||||
# Run = @{ Path = "./$toolName.Tests.ps1" }
|
|
||||||
# Should = @{ ErrorAction = 'Continue' }
|
|
||||||
# Output = @{ EnableExit = $true }
|
|
||||||
# }
|
|
||||||
# working-directory: ./tests
|
|
||||||
|
|
||||||
publish_release:
|
publish_release:
|
||||||
name: Publish release
|
name: Publish release
|
||||||
|
|||||||
Reference in New Issue
Block a user