Skip to content

Commit

Permalink
ran on my machine: this is for debugging in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
JL-Brothers committed Sep 3, 2024
1 parent 562433c commit 079e21a
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,15 @@ jobs:
shell: 'script -q -e -c "bash {0}"'
run: |
set -e
# list of script filenames on server contains a target folder name
./openc3.sh cliroot script list | grep -q "INST2"
# spawning a script in a subfolder returns 0 and prints only a PID
./openc3.sh cliroot script spawn INST/procedures/checks.rb | grep -qv "^\s*\d+\s*$"
# running a known good script with a wait value returns 0 and prints a success message
./openc3.sh cliroot script run --wait 10 INST/procedures/checks.rb | grep -q "script complete"
# listing script filenames on server also shows a target folder name
# orig #./openc3.sh cliroot script list | grep -q "INST2"
./openc3.sh cliroot script list
# spawning a script in a subfolder prints only a PID
# orig #./openc3.sh cliroot script spawn INST/procedures/checks.rb | grep -qv "^\s*\d+\s*$"
./openc3.sh cliroot script spawn INST/procedures/checks.rb
# running a known good script with a wait value longer than its run time prints a success message
# orig # ./openc3.sh cliroot script run --wait 10 INST/procedures/checks.rb | grep -q "script complete"
./openc3.sh cliroot script run --wait 10 INST/procedures/checks.rb
- name: openc3.sh util save,load
shell: 'script -q -e -c "bash {0}"'
run: |
Expand Down

0 comments on commit 079e21a

Please sign in to comment.