diff --git a/.github/workflows/packages.yml b/.github/workflows/packages.yml index ad5a118f..6c3c1426 100644 --- a/.github/workflows/packages.yml +++ b/.github/workflows/packages.yml @@ -12,6 +12,11 @@ on: required: true type: number default: 1 + timeoutSeconds: + description: "Timeout in seconds for each test" + required: true + type: number + default: 120 jobs: matrix-setup: @@ -113,10 +118,10 @@ jobs: echo "::group::Test package $package" set +e - timeout 60s docker exec -i $CONTAINER iris session IRIS <<- EOF - zpm "install $package":1 - zpm "$package test -only ${{ env.test-flags }}":1:1 - halt + timeout ${{ inputs.timeoutSeconds }}s docker exec -i $CONTAINER iris session IRIS <<- EOF + zpm "install $package":1 + zpm "$package test -only ${{ env.test-flags }}":1:1 + halt EOF if [ $? -ne 0 ]; then