diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index ba3c7cd..08f7a95 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -103,6 +103,12 @@ jobs: exit 1 fi + if [ -f scripts/tests.sh ]; then + scripts/tests.sh || exit $? + else + echo "No scripts/tests.sh" + fi + - name: Logs if: always() run: docker-compose logs diff --git a/scripts/tests.sh b/scripts/tests.sh new file mode 100755 index 0000000..8e81981 --- /dev/null +++ b/scripts/tests.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# SPDX-License-Identifier: Apache-2.0 +# Copyright (c) 2022 Intel Corporation + +echo "A script with some tests"