Skip to content

Commit

Permalink
More github actions jq testing
Browse files Browse the repository at this point in the history
  • Loading branch information
jc0b committed May 12, 2024
1 parent 1fb141c commit 6167d1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ jobs:
./nudge-auto-updater.py -s file://${GITHUB_WORKSPACE}/tests/test-latest/feed.json -c ${GITHUB_WORKSPACE}/tests/test-latest/configuration.yml -n ${GITHUB_WORKSPACE}/tests/test-latest/nudge-config.json
- name: Run tests
run: |
[[ $(jq -r ".OSVersions.[0].SecurityReleases.[0].ProductVersion" ${GITHUB_WORKSPACE}/tests/test-latest/feed.json) == $(jq -r ".osVersionRequirements.[0].requiredMinimumOSVersion" ${GITHUB_WORKSPACE}/tests/test-latest/nudge-config.json) ]]
[[ $(jq -r .OSVersions.[0].SecurityReleases.[0].ProductVersion ${GITHUB_WORKSPACE}/tests/test-latest/feed.json) == $(jq -r .osVersionRequirements.[0].requiredMinimumOSVersion ${GITHUB_WORKSPACE}/tests/test-latest/nudge-config.json) ]]

0 comments on commit 6167d1d

Please sign in to comment.