File tree Expand file tree Collapse file tree 2 files changed +36
-17
lines changed Expand file tree Collapse file tree 2 files changed +36
-17
lines changed Original file line number Diff line number Diff line change 24
24
matrix :
25
25
ob_branch : [dev, reduce_install_scope, main]
26
26
micromamba_version : ['2.0.5-0', '1.5.12-0']
27
- fail-fast : true
27
+ fail-fast : false
28
28
steps :
29
29
- name : Check out repository
30
30
uses : actions/checkout@v4
35
35
with :
36
36
cache-environment : true
37
37
micromamba-version : ${{ matrix.micromamba_version }}
38
- environment-name : test-env
38
+ environment-name : test-env-${{matrix.ob_branch }}-${{ matrix.micromamba_version }}
39
39
create-args : >-
40
40
python=3.12
41
41
pip
@@ -56,18 +56,27 @@ jobs:
56
56
- name : Run benchmark
57
57
shell : bash -l {0}
58
58
run : |
59
- date
60
- echo "y" | ob run benchmark -b Clustering.yaml --local --cores 10 --continue-on-error
61
- date
59
+ env
60
+ ob --version
61
+ output=$( echo "y" | ob run benchmark -b Clustering.yaml --local --cores 10 2>&1 )
62
+ status=$?
63
+ if echo "$output" | grep -v 'Error'; then
64
+ status=0
65
+ fi
66
+ sh -c "exit $status"
62
67
if : matrix.ob_branch == 'dev' || matrix.ob_branch == 'reduce_install_scope'
63
68
64
69
- name : Run benchmark
65
70
shell : bash -l {0}
66
- continue-on-error : true
67
71
run : |
68
- date
69
- ob run benchmark -b Clustering.yaml --local --threads 10
70
- date
72
+ env
73
+ ob --version
74
+ output=$( ob run benchmark -b Clustering.yaml --local --threads 10 2>&1 )
75
+ status=$?
76
+ if echo "$output" | grep -v 'Error'; then
77
+ status=0
78
+ fi
79
+ sh -c "exit $status"
71
80
if : matrix.ob_branch == 'main'
72
81
73
82
# upload-artifact:
Original file line number Diff line number Diff line change 1
1
name : clustbench_miniforge
2
2
concurrency :
3
- group : ${{ github.head_ref || github.run_id }}
3
+ group : ${{ github.head_ref || github.run_id }}
4
4
cancel-in-progress : true
5
5
6
6
on :
33
33
with :
34
34
miniforge-variant : Miniforge3
35
35
use-mamba : true
36
- activate-environment : omnibenchmark -env
36
+ activate-environment : test -env-${{matrix.ob_branch }}
37
37
python-version : " 3.12"
38
38
auto-update-conda : true
39
39
channels : conda-forge
@@ -66,17 +66,27 @@ jobs:
66
66
- name : Run benchmark
67
67
shell : bash -l {0}
68
68
run : |
69
- date
70
- echo "y" | ob run benchmark -b Clustering.yaml --local --cores 10 --continue-on-error
71
- date
69
+ env
70
+ ob --version
71
+ output=$( echo "y" | ob run benchmark -b Clustering.yaml --local --cores 10 2>&1 )
72
+ status=$?
73
+ if echo "$output" | grep -v 'Error'; then
74
+ status=0
75
+ fi
76
+ sh -c "exit $status"
72
77
if : matrix.ob_branch == 'dev' || matrix.ob_branch == 'reduce_install_scope'
73
78
74
79
- name : Run benchmark
75
80
shell : bash -l {0}
76
81
run : |
77
- date
78
- ob run benchmark -b Clustering.yaml --local --threads 10
79
- date
82
+ env
83
+ ob --version
84
+ output=$( ob run benchmark -b Clustering.yaml --local --threads 10 2>&1 )
85
+ status=$?
86
+ if echo "$output" | grep -v 'Error'; then
87
+ status=0
88
+ fi
89
+ sh -c "exit $status"
80
90
if : matrix.ob_branch == 'main'
81
91
82
92
# upload-artifact:
You can’t perform that action at this time.
0 commit comments