Skip to content
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.

Commit

Permalink
ci: test new command for start
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastiendan committed Aug 29, 2023
1 parent 49eabd8 commit 9a6cf93
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/test:smoke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ jobs:
run: node dist/main --help

- name: Smoke start command
run: (node dist/main start -v | tee >(grep -q "🔥 Everything is done! 🔥" && pkill -P $$); [ $? -eq 143 ])
# run: (node dist/main start -v | tee >(grep -q "🔥 Everything is done! 🔥" && pkill -P $$); [ $? -eq 143 ])
# run: (node dist/main start -v & echo $!; tail -f /dev/null & wait $! | grep -q "Starting Topos-Playground..." && pkill -P $(jobs -p) && echo "Success" || echo "Error") 2>/dev/null
# run: (node dist/main start & echo $! && node dist/main start | grep -q "Start Topos-Playground..." && pkill -P $(echo $!) && wait $(echo $!) && echo "String found and process killed") || echo "String not found"
run: (node dist/main start 2>&1 | tee logfile & echo $! > pidfile ; tail -f logfile | grep -q "🔥 Everything is done! 🔥" && kill $(<pidfile))

- name: Smoke clean command
run: node dist/main clean -v
Expand Down

0 comments on commit 9a6cf93

Please sign in to comment.