Skip to content

Commit 0a22d34

Browse files
committed
dev works with mambaforge; grep outputs better
1 parent e87e11e commit 0a22d34

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

.github/workflows/micromamba.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ on:
1717

1818
jobs:
1919
run-benchmark:
20-
name: run_clustbench
20+
name: run_clustbench_micromamba
2121
## runs-on: ubuntu-latest
2222
runs-on: self-hosted
2323
strategy:
@@ -59,8 +59,8 @@ jobs:
5959
env
6060
output=$( echo "y" | ob run benchmark -b Clustering.yaml --local --cores 10 2>&1 )
6161
status=$?
62-
if echo "$output" | grep -i 'Error\|S3 storage'; then
63-
status=1
62+
if echo "$output" | grep -i 'Benchmark run has finished successfully'; then
63+
status=0
6464
fi
6565
echo -e $output
6666
sh -c "exit $status"
@@ -72,8 +72,8 @@ jobs:
7272
env
7373
output=$( ob run benchmark -b Clustering.yaml --local --threads 10 2>&1 )
7474
status=$?
75-
if echo "$output" | grep -i 'Error\|S3 storage'; then
76-
status=1
75+
if echo "$output" | grep -i 'Benchmark run has finished successfully'; then
76+
status=0
7777
fi
7878
echo -e $output
7979
sh -c "exit $status"

.github/workflows/miniconda_miniforge.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ on:
1717

1818
jobs:
1919
run-benchmark:
20-
name: run_clustbench
20+
name: run_clustbench_miniconda
2121
## runs-on: ubuntu-latest
2222
runs-on: self-hosted
2323
strategy:
@@ -69,8 +69,8 @@ jobs:
6969
env
7070
output=$( echo "y" | ob run benchmark -b Clustering.yaml --local --cores 10 2>&1 )
7171
status=$?
72-
if echo "$output" | grep -i 'Error\|S3 storage'; then
73-
status=1
72+
if echo "$output" | grep -i 'Benchmark run has finished successfully'; then
73+
status=0
7474
fi
7575
echo -e $output
7676
sh -c "exit $status"
@@ -82,8 +82,8 @@ jobs:
8282
env
8383
output=$( ob run benchmark -b Clustering.yaml --local --threads 10 2>&1 )
8484
status=$?
85-
if echo "$output" | grep -i 'Error\|S3 storage'; then
86-
status=1
85+
if echo "$output" | grep -i 'Benchmark run has finished successfully'; then
86+
status=0
8787
fi
8888
echo -e $output
8989
sh -c "exit $status"

0 commit comments

Comments
 (0)