summaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yaml
diff options
context:
space:
mode:
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