File tree Expand file tree Collapse file tree 8 files changed +24
-16
lines changed Expand file tree Collapse file tree 8 files changed +24
-16
lines changed Original file line number Diff line number Diff line change 16
16
required : false
17
17
type : string
18
18
push :
19
- branches : devel
19
+ branches : [ devel, main]
20
20
21
21
env :
22
22
COMMIT : ${{ inputs.ref || github.event.ref }}
69
69
with :
70
70
mpi_type : openmpi
71
71
- name : " Setup"
72
+ if : github.event_name != 'push'
72
73
id : token
73
74
run : |
74
75
pip install jwt requests
@@ -108,7 +109,7 @@ jobs:
108
109
path : .coverage
109
110
retention-days : 1
110
111
- name : " Post completed"
111
- if : always()
112
+ if : always() && github.event_name != 'push'
112
113
run :
113
114
python ci_tools/complete_check_run.py ${{ steps.f_c_pytest.outcome }} ${{ steps.python_pytest.outcome }} ${{ steps.parallel.outcome }}
114
115
shell : bash -l {0}
Original file line number Diff line number Diff line change 16
16
required : false
17
17
type : string
18
18
push :
19
- branches : devel
19
+ branches : [ devel, main]
20
20
21
21
env :
22
22
COMMIT : ${{ inputs.ref || github.event.ref }}
69
69
with :
70
70
mpi_type : msmpi
71
71
- name : " Setup"
72
+ if : github.event_name != 'push'
72
73
id : token
73
74
run : |
74
75
python -m pip install jwt requests
88
89
with :
89
90
shell_cmd : ' bash -l -eo pipefail {0}'
90
91
- name : " Post completed"
91
- if : always()
92
+ if : always() && github.event_name != 'push'
92
93
run : |
93
94
which python
94
95
python --version
Original file line number Diff line number Diff line change 16
16
required : false
17
17
type : string
18
18
push :
19
- branches : devel
19
+ branches : [ devel, main]
20
20
21
21
env :
22
22
COMMIT : ${{ inputs.ref || github.event.ref }}
64
64
with :
65
65
python-version : ${{ needs.Python_version_picker.outputs.python_version }}
66
66
- name : " Setup"
67
+ if : github.event_name != 'push'
67
68
id : token
68
69
run : |
69
70
pip install jwt requests
@@ -102,6 +103,6 @@ jobs:
102
103
path : .coverage
103
104
retention-days : 1
104
105
- name : " Post completed"
105
- if : always()
106
+ if : always() && github.event_name != 'push'
106
107
run :
107
108
python ci_tools/complete_check_run.py ${{ steps.f_c_pytest.outcome }} ${{ steps.python_pytest.outcome }} ${{ steps.parallel.outcome }} ${{ steps.valgrind.outcome }}
Original file line number Diff line number Diff line change 16
16
required : false
17
17
type : string
18
18
push :
19
- branches : devel
19
+ branches : [ devel, main]
20
20
21
21
env :
22
22
COMMIT : ${{ inputs.ref || github.event.ref }}
67
67
with :
68
68
python-version : ${{ matrix.python_version }}
69
69
- name : " Setup"
70
+ if : github.event_name != 'push'
70
71
id : token
71
72
run : |
72
73
pip install jwt requests
@@ -105,6 +106,6 @@ jobs:
105
106
path : .coverage
106
107
retention-days : 1
107
108
- name : " Post completed"
108
- if : always()
109
+ if : always() && github.event_name != 'push'
109
110
run :
110
111
python ci_tools/complete_check_run.py ${{ steps.f_c_pytest.outcome }} ${{ steps.python_pytest.outcome }} ${{ steps.parallel.outcome }} ${{ steps.valgrind.outcome }}
Original file line number Diff line number Diff line change 16
16
required : false
17
17
type : string
18
18
push :
19
- branches : devel
19
+ branches : [ devel, main]
20
20
21
21
env :
22
22
COMMIT : ${{ inputs.ref || github.event.ref }}
63
63
with :
64
64
python-version : ${{ needs.Python_version_picker.outputs.python_version }}
65
65
- name : " Setup"
66
+ if : github.event_name != 'push'
66
67
id : token
67
68
run : |
68
69
pip install jwt requests
87
88
timeout-minutes : 20
88
89
uses : ./.github/actions/pytest_parallel
89
90
- name : " Post completed"
90
- if : always()
91
+ if : always() && github.event_name != 'push'
91
92
run :
92
93
python ci_tools/complete_check_run.py ${{ steps.f_c_pytest.outcome }} ${{ steps.python_pytest.outcome }} ${{ steps.parallel.outcome }}
Original file line number Diff line number Diff line change 19
19
required : false
20
20
type : string
21
21
push :
22
- branches : devel
22
+ branches : [ devel, main]
23
23
24
24
env :
25
25
COMMIT : ${{ inputs.ref || github.event.ref }}
72
72
with :
73
73
python-version : ${{ needs.Python_version_picker.outputs.python_version }}
74
74
- name : " Setup"
75
+ if : github.event_name != 'push'
75
76
id : token
76
77
run : |
77
78
pip install jwt requests
99
100
with :
100
101
not_editable : " ${{ matrix.editable_string == '-e' && 'False' || 'True' }}"
101
102
- name : " Post completed"
102
- if : always()
103
+ if : always() && github.event_name != 'push'
103
104
run : |
104
105
python ci_tools/basic_json_check_output.py --statuses ${{ steps.pickle.outcome }} ${{ steps.pickle_check.outcome }} ${{ steps.stc_check.outcome }} ${{ steps.gFTL_check.outcome}} --reasons "Installation failed." "Pickled files were not found in installaion." "STC was not found during installation." "gFTL was not found during installation."
105
106
python ci_tools/complete_check_run.py ${{ steps.pickle.outcome }} ${{ steps.pickle_check.outcome }} ${{ steps.stc_check.outcome }} ${{ steps.gFTL_check.outcome}}
Original file line number Diff line number Diff line change 16
16
required : false
17
17
type : string
18
18
push :
19
- branches : devel
19
+ branches : [ devel, main]
20
20
21
21
env :
22
22
COMMIT : ${{ inputs.ref || github.event.ref }}
62
62
with :
63
63
python-version : ${{ needs.Python_version_picker.outputs.python_version }}
64
64
- name : " Setup"
65
+ if : github.event_name != 'push'
65
66
id : token
66
67
run : |
67
68
pip install jwt requests
86
87
id : gFTL_check
87
88
uses : ./.github/actions/check_for_gftl
88
89
- name : " Post completed"
89
- if : always()
90
+ if : always() && github.event_name != 'push'
90
91
run : |
91
92
python ci_tools/basic_json_check_output.py --statuses ${{ steps.pickle.outcome }} ${{ steps.pickle_check.outcome }} ${{ steps.stc_check.outcome }} ${{ steps.gFTL_check.outcome}} --reasons "Installation failed." "Pickled files were not found in installaion." "STC was not found during installation." "gFTL was not found during installation."
92
93
python ci_tools/complete_check_run.py ${{ steps.pickle.outcome }} ${{ steps.pickle_check.outcome }} ${{ steps.stc_check.outcome }} ${{ steps.gFTL_check.outcome}}
Original file line number Diff line number Diff line change 16
16
required : false
17
17
type : string
18
18
push :
19
- branches : devel
19
+ branches : [ devel, main]
20
20
21
21
env :
22
22
COMMIT : ${{ inputs.ref || github.event.ref }}
63
63
with :
64
64
python-version : ${{ needs.Python_version_picker.outputs.python_version }}
65
65
- name : " Setup"
66
+ if : github.event_name != 'push'
66
67
id : token
67
68
run : |
68
69
pip install jwt requests
90
91
timeout-minutes : 20
91
92
uses : ./.github/actions/pytest_parallel
92
93
- name : " Post completed"
93
- if : always()
94
+ if : always() && github.event_name != 'push'
94
95
run :
95
96
python ci_tools/complete_check_run.py ${{ steps.f_c_pytest.outcome }} ${{ steps.python_pytest.outcome }} ${{ steps.parallel.outcome }}
You can’t perform that action at this time.
0 commit comments