diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index ead943b2f2..724499a7d8 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -100,9 +100,4 @@ jobs: - name: Test shell: bash - run: | - which ffmpeg || true - echo "$PATH" - ls -lh /github/home/compiled/bin/ - /github/home/compiled/bin/ffmpeg -version || true - PATH="/github/home/compiled/bin:$PATH" bash ./test.sh + run: PATH="/github/home/compiled/bin:$PATH" bash ./test.sh diff --git a/test.sh b/test.sh index b962a770ad..1623284aec 100755 --- a/test.sh +++ b/test.sh @@ -1,3 +1,5 @@ +#!/bin/bash + #Test script to run all the tests for continuous integration set -eux @@ -5,9 +7,9 @@ set -eux EXTRA_BUILD_TAGS="" DEVICE_FLAGS="sw" -if which clang > /dev/null; then - EXTRA_BUILD_TAGS="--tags=nvidia" - DEVICE_FLAGS="nv 0" +if which clang >/dev/null; then + EXTRA_BUILD_TAGS="--tags=nvidia" + DEVICE_FLAGS="nv 0" fi go test $EXTRA_BUILD_TAGS -timeout 30m ./...