Skip to content

Commit

Permalink
Specify examples explicitly
Browse files Browse the repository at this point in the history
Internal-tag: [#53659]
Signed-off-by: Robert Szczepanski <[email protected]>
  • Loading branch information
robertszczepanski committed Feb 28, 2024
1 parent 14cc050 commit 508af87
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/scripts/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -117,9 +117,9 @@ generate_examples() {
install_python_packages "examples"
install_topwrap

for EXAMPLE in $EXAMPLES; do
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
Expand Down

0 comments on commit 508af87

Please sign in to comment.