diff options
| author | Anthony Oleinik <[email protected]> | 2024-03-14 01:59:47 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-03-14 04:59:47 -0400 |
| commit | 528943263040c9f383361b1a37a3ee4db66412af (patch) | |
| tree | ff93492146018fa1df1f2cf5f7f19ce324b055ad /.github/workflows | |
| parent | b7813d224e7630de289d587c90e444c76f3330a0 (diff) | |
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 <[email protected]>
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/ci.yaml | 16 |
1 files changed, 14 insertions, 2 deletions
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 |
