Skip to content

Commit

Permalink
Tests should skip script analysis by default
Browse files Browse the repository at this point in the history
  • Loading branch information
cmsetzer committed Oct 24, 2023
1 parent 35e1c8c commit 2bdbfe7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ For the tests to pass, the following environment variables must be set:
* `SOCRATA_USERNAME`
* `SOCRATA_PASSWORD`

Script analysis is included in the test suite. To run script analysis separately, use [PSScriptAnalyzer]:
To run script analysis, use [PSScriptAnalyzer]:

```powershell
Invoke-ScriptAnalyzer -Path "./Socrata.psm1"
Expand Down
2 changes: 1 addition & 1 deletion Socrata.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ BeforeAll {
}

Describe "Socrata-PowerShell" {
It "Does not trigger PSScriptAnalyzer warnings or errors" {
It "Does not trigger PSScriptAnalyzer warnings or errors" -Skip {
Import-Module "PSScriptAnalyzer"
$ScriptAnalysisOutput = @(
Invoke-ScriptAnalyzer `
Expand Down

0 comments on commit 2bdbfe7

Please sign in to comment.