-
Notifications
You must be signed in to change notification settings - Fork 0
1.0.9 features #10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
1.0.9 features #10
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
74a6ff6
Updating test cases to run properly on windows and linux and started …
kormic911 753d0ff
Adding unit tests for homebrew related tasks.
kormic911 3c064a1
Fixing some linting issues.
kormic911 f60e306
Adding install-modules to the runSecurity.ps1 file.
kormic911 0686ca9
Fixing changes made my psscriptanalyzer when it was trying to 'help'
kormic911 507703d
Fixes for linux?
kormic911 7aee387
Fixing some capitalization issues mac doesnt like.
kormic911 b84a1c8
Fixing some more things that psscriptanalyzer 'fixed'.
kormic911 05d0fba
FIxing a couple more issues with the pester tests
kormic911 bd12ae7
FIxing an errant output that was causing a problem
kormic911 a912932
Updating workflows to run on PR's to main and develop and also adding…
kormic911 7a1406a
Adding copilot suggested correction.
kormic911 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| name: Run PSScriptAnalyzer Tests | ||
| on: | ||
| pull_request: | ||
| branches: | ||
| - develop | ||
| - main | ||
| workflow_dispatch: | ||
|
|
||
| jobs: | ||
| psscriptanalyzer: | ||
| name: PSScriptAnalyzer | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| contents: read | ||
| issues: write | ||
| checks: write | ||
| pull-requests: write | ||
| security-events: write | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - name: Lint with PSScriptAnalyzer | ||
| shell: pwsh | ||
| run: | | ||
| .\runSecurity.ps1 | ||
|
|
||
| - name: Upload SARIF results file | ||
| uses: github/codeql-action/upload-sarif@v3 | ||
| with: | ||
| sarif_file: results.sarif | ||
| token: ${{ secrets.GITHUB_TOKEN }} |
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,80 @@ | ||
| name: Run Pester Tests | ||
| on: | ||
| pull_request: | ||
| branches: | ||
| - develop | ||
| - main | ||
| workflow_dispatch: | ||
|
|
||
| jobs: | ||
| pester-test-linux: | ||
| name: Pester test (On Linux) | ||
| runs-on: ubuntu-latest | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| permissions: | ||
| contents: read | ||
| issues: read | ||
| checks: write | ||
| pull-requests: write | ||
| steps: | ||
| - name: Check out repository code | ||
| uses: actions/checkout@v4 | ||
| - name: Execute runTests.ps1 | ||
| shell: pwsh | ||
| run: | | ||
| .\runTests.ps1 | ||
| - name: Publish Test Results | ||
| uses: EnricoMi/publish-unit-test-result-action/linux@v2 | ||
| if: (!cancelled()) | ||
| with: | ||
| check_name: Pester test (On Linux) Results | ||
| files: testResults.xml | ||
|
|
||
| pester-test-windows: | ||
| name: Pester test (On Windows) | ||
| runs-on: windows-latest | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| permissions: | ||
| contents: read | ||
| issues: read | ||
| checks: write | ||
| pull-requests: write | ||
| steps: | ||
| - name: Check out repository code | ||
| uses: actions/checkout@v4 | ||
| - name: Execute runTests.ps1 | ||
| shell: pwsh | ||
| run: | | ||
| .\runTests.ps1 | ||
| - name: Publish Test Results | ||
| uses: EnricoMi/publish-unit-test-result-action/windows@v2 | ||
| if: (!cancelled()) | ||
| with: | ||
| check_name: Pester test (On Windows) Results | ||
| files: testResults.xml | ||
|
|
||
| pester-test-macos: | ||
| name: Pester test (On macOS) | ||
| runs-on: macos-latest | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| permissions: | ||
| contents: read | ||
| issues: read | ||
| checks: write | ||
| pull-requests: write | ||
| steps: | ||
| - name: Check out repository code | ||
| uses: actions/checkout@v4 | ||
| - name: Execute runTests.ps1 | ||
| shell: pwsh | ||
| run: | | ||
| .\runTests.ps1 | ||
| - name: Publish Test Results | ||
| uses: EnricoMi/publish-unit-test-result-action/macos@v2 | ||
| if: (!cancelled()) | ||
| with: | ||
| check_name: Pester test (On macOS) Results | ||
| files: testResults.xml |
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.