diff --git a/.github/scripts/test.sh b/.github/scripts/test.sh index e1a403f6..cb0f9a5a 100755 --- a/.github/scripts/test.sh +++ b/.github/scripts/test.sh @@ -3,7 +3,7 @@ set -e ROOT_DIR="$(dirname "${BASH_SOURCE[0]}")/../.." -EXAMPLES="$(ls "$ROOT_DIR"/examples)" +EXAMPLES=(hdmi inout pwm) begin_command_group() { if [[ -n "${GITHUB_WORKFLOW:-}" ]]; then @@ -119,7 +119,7 @@ generate_examples() { for EXAMPLE in $EXAMPLES; do begin_command_group "Generate $EXAMPLE example" - pushd examples/"$EXAMPLE" + pushd "$ROOT_DIR"/examples/"$EXAMPLE" tuttest README.md install-deps,generate | bash - popd end_command_group