Skip to content

Commit

Permalink
More granular test execution steps & better naming
Browse files Browse the repository at this point in the history
  • Loading branch information
philipbalinov committed Nov 1, 2024
1 parent 8eb0c59 commit 373d298
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/pkg_msi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -221,12 +221,14 @@ jobs:
if (-not $match) {
exit 1
}
- name: Login to edge with cnspec
- name: Run a basic cnquery sanity check
run: |
& 'C:\Program Files\Mondoo\cnquery.exe' run -c "os.base.packages.where(name == 'Mondoo') { name }"
- name: Run a basic cnspec sanity check
- name: Login to edge with cnspec
run: |
& 'C:\Program Files\Mondoo\cnspec.exe' login -t "${{ secrets.INSTALL_TEST_MONDOO_REGISTRATION_TOKEN }}" --config C:\ProgramData\Mondoo\mondoo.yml
- name: Run a basic cnspec sanity check
run: |
& 'C:\Program Files\Mondoo\cnspec.exe' policy download mondoo-windows-installer -f mondoo-windows-installer.mql.yaml
& 'C:\Program Files\Mondoo\cnspec.exe' scan local --detect-cicd --score-threshold 100 -o full --policy-bundle mondoo-windows-installer.mql.yaml
Expand Down

0 comments on commit 373d298

Please sign in to comment.