Skip to content

Commit

Permalink
Lets run dependency tool when testing docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
7h3Rabbit committed Oct 2, 2024
1 parent 2e9fe0b commit a89b13a
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/regression-test-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,30 @@ jobs:
echo "Error: WebPerf-core help command is NOT returning expected content"
exit 1
fi
- name: Check if dependency tool works
run: |
help=$(docker run ${{ env.TEST_TAG }} python tools/dependency.py)
echo "$help"
if [[ "$help" != *"Python: OK"* ]]; then
echo "Error: dependency tool - Error with Python"
exit 1
fi
if [[ "$help" != *"Node: OK"* ]]; then
echo "Error: dependency tool - Error with Node"
exit 1
fi
if [[ "$help" != *"Java: OK"* ]]; then
echo "Error: dependency tool - Error with Java"
exit 1
fi
if [[ "$help" != *"chrome: OK"* ]]; then
echo "Error: dependency tool - Error with Chrome"
exit 1
fi
if [[ "$help" != *"firefox: OK"* ]]; then
echo "Error: dependency tool - Error with Firefox"
exit 1
fi
- name: Check if webperf_core can run Test 1
if: always()
run: |
Expand Down

0 comments on commit a89b13a

Please sign in to comment.