Skip to content

Commit

Permalink
Add Validate Templates (#2387)
Browse files Browse the repository at this point in the history
 * increase timeouts in all expect scripts with additional time added
   to the last exect script component.exp, which runs extra slow on
   github ubuntu.
  • Loading branch information
rlcheng committed Oct 28, 2024
1 parent 985088c commit dfb369d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/bootstrap.exp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
set timeout 120
set timeout 180
spawn fprime-bootstrap project
expect "Project name (MyProject):"
send -- "MyProject\r"
Expand Down
24 changes: 10 additions & 14 deletions .github/workflows/component.exp
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
set timeout 120
set timeout 180
spawn fprime-util new --component
expect "Component name (MyComponent):"
send -- "MyComponent\r"
expect "Select component kind"
send -- "1\r"
expect "Enable Commands?"
send -- "1\r"
expect "Enable Telemetry?"
send -- "1\r"
expect "Enable Parameters?"
send -- "1\r"
expect "Add MyComponent to"
send -- "yes\r"
expect eof
expect {
"Component name (MyComponent):" {send -- "MyComponent\r" ; exp_continue}
"Select component kind" {"1\r" ; exp_continue}
"Enable Commands?" {"1\r" ; exp_continue}
"Enable Telemetry?" {"1\r" ; exp_continue}
"Enable Parameters?" {"1\r" ; exp_continue}
"Add MyComponent to" {"yes\r" ; exp_continue}
eof
}
2 changes: 1 addition & 1 deletion .github/workflows/deployment.exp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
set timeout 120
set timeout 180
spawn fprime-util new --deployment
expect "Deployment name (MyDeployment):"
send -- "MyDeployment\r"
Expand Down

0 comments on commit dfb369d

Please sign in to comment.