From 528943263040c9f383361b1a37a3ee4db66412af Mon Sep 17 00:00:00 2001 From: Anthony Oleinik <48811365+antholeole@users.noreply.github.com> Date: Thu, 14 Mar 2024 01:59:47 -0700 Subject: Add support for other procfile runners (#5) * WIP * WIP * WIP * done * done * fix CI * fix CI * refactor: default to overmind in mkProcfileRunner * module: cleanup option docs * refactor: cleanup multi-test suite --------- Co-authored-by: seth --- .github/workflows/ci.yaml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to '.github/workflows/ci.yaml') diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index be0ae47..57e8d4f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -23,6 +23,18 @@ jobs: - name: Run test script run: | - set -eux + function catch_error() { + echo "Job $1 failed!" + exit 1 + } - nix develop ./test --command 'run-ci' + tests=( + "overmind" + "overmind-dft" + "honcho" + ) + + for test in "${tests[@]}"; do + nix develop ./test#"$test" --command 'run-ci' || catch_error "$test" + sleep 5 # this is to avoid race conditions with the current proc runner not exiting just yet + done -- cgit v1.2.3