Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion .github/workflows/ms.network.virtualnetworks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ env:
ARM_TENANT_ID: '${{ secrets.ARM_TENANT_ID }}'
TOKEN_NAMEPREFIX: '${{ secrets.TOKEN_NAMEPREFIX }}'


jobs:
###########################
# Initialize pipeline #
Expand Down Expand Up @@ -153,8 +154,19 @@ jobs:
with:
modules: 'PSRule.Rules.Azure'
inputPath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}'
outputFormat: Sarif
outputFormat: Markdown
outputPath: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}-output.md'
option: '${{ env.modulePath }}/.test/vnet-ps-rule.yaml'

# - name: 'PSRule test summary'
# uses: EnricoMi/publish-unit-test-result-action@v1
# if: always()
# with:
# files: '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}-output.xml'

- name: Output to Github summaries
if: always()
run: cat '${{ env.modulePath }}/${{ matrix.moduleTestFilePaths }}-output.md' >> $GITHUB_STEP_SUMMARY

# #############################
# # Deployment validation #
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ include:
output:
culture:
- 'en-US'
outcome: 'Fail'
as: 'Summary'


input:
pathIgnore:
Expand Down
1 change: 1 addition & 0 deletions ps-rule.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ output:
culture:
- 'en-US'


input:
pathIgnore:
# Ignore other files in the repository.
Expand Down