summaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yaml
diff options
context:
space:
mode:
authorAnthony Oleinik <[email protected]>2024-03-14 01:59:47 -0700
committerGitHub <[email protected]>2024-03-14 04:59:47 -0400
commit528943263040c9f383361b1a37a3ee4db66412af (patch)
treeff93492146018fa1df1f2cf5f7f19ce324b055ad /.github/workflows/ci.yaml
parentb7813d224e7630de289d587c90e444c76f3330a0 (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/ci.yaml')
-rw-r--r--.github/workflows/ci.yaml16
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