Skip to content

Commit

Permalink
Added publishing of test results
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanBijkerk authored Aug 15, 2023
1 parent 93788bc commit 3d947e0
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,24 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: YAML lint on Ansible
run: yamllint -c ./tests/ymllint/config.yml ./ansible
continue-on-error: true
run: yamllint -c ./tests/ymllint/config.yml ./ansible

- name: PSScriptAnalyzer on Ansible
continue-on-error: true
run: pwsh -Command Invoke-ScriptAnalyzer -Path "./ansible/*" -Setting "./tests/psscript/config.psd1" -EnableExit

- name: TFLint for Terraform
continue-on-error: true # added to ignore the outcome for now as there needs to be a lot adjusted
continue-on-error: true
run: |
curl -s https://raw.githubusercontent.com/terraform-linters/tflint/master/install_linux.sh | bash
tflint --recursive
tflint --format junit --recursive > tflint-result.xml
- name: Publish test results
uses: EnricoMi/publish-unit-test-result-action@v2
if: always()
with:
files: |
*-result.xml

0 comments on commit 3d947e0

Please sign in to comment.