File tree 8 files changed +37
-13
lines changed
8 files changed +37
-13
lines changed Original file line number Diff line number Diff line change 22
22
23
23
workflow_dispatch :
24
24
25
+ concurrency :
26
+ group : ${{ github.workflow }}-${{ github.event_name }}-${{ github.event.pull_request.number || github.run_id }}
27
+ cancel-in-progress : true
28
+
25
29
jobs :
26
30
27
31
ci :
28
- if : ${{ github.event. repository.name == 'e3sm ' }}
32
+ if : ${{ github.repository == 'E3SM-Project/E3SM ' }}
29
33
runs-on : ubuntu-latest
30
34
strategy :
31
35
fail-fast : false
36
40
- SMS_D_Ln5_P4.ne4pg2_oQU480.F2010-SCREAMv1-MPASSI.ghci-oci_gnu
37
41
- ERS_Ld5_P4.ne4pg2_oQU480.F2010-SCREAMv1-MPASSI.ghci-oci_gnu.eamxx-prod
38
42
container :
39
- image : ghcr.io/e3sm-project/containers-ghci:ghci-0.1 .0
43
+ image : ghcr.io/e3sm-project/containers-ghci:ghci-0.2 .0
40
44
41
45
steps :
42
46
-
Original file line number Diff line number Diff line change 1
- name : gh
1
+ name : gh-w
2
2
3
3
on :
4
4
pull_request :
11
11
12
12
workflow_dispatch :
13
13
14
+ concurrency :
15
+ group : ${{ github.workflow }}-${{ github.event_name }}-${{ github.event.pull_request.number || github.run_id }}
16
+ cancel-in-progress : true
17
+
14
18
jobs :
15
19
16
- ci-w :
17
- if : ${{ github.event. repository.name == 'e3sm ' }}
20
+ ci :
21
+ if : ${{ github.repository == 'E3SM-Project/E3SM ' }}
18
22
runs-on : ubuntu-latest
19
23
strategy :
20
24
fail-fast : false
23
27
- SMS_D_Ld1_P8.ne4pg2_oQU480.WCYCL2010NS.ghci-oci_gnu
24
28
- ERS_Ld3_P8.ne4pg2_oQU480.WCYCL2010NS.ghci-oci_gnu.allactive-wcprod_1850
25
29
container :
26
- image : ghcr.io/e3sm-project/containers-ghci:ghci-0.1 .0
30
+ image : ghcr.io/e3sm-project/containers-ghci:ghci-0.2 .0
27
31
28
32
steps :
29
33
-
Original file line number Diff line number Diff line change 10
10
# for now let's not lint files in eamxx
11
11
- ' !components/eamxx/**/*.md'
12
12
13
+ concurrency :
14
+ group : ${{ github.workflow }}-${{ github.event_name }}-${{ github.event.pull_request.number || github.run_id }}
15
+ cancel-in-progress : true
16
+
13
17
jobs :
14
18
linter :
19
+ if : ${{ github.repository == 'E3SM-Project/E3SM' }}
15
20
runs-on : ubuntu-latest
16
21
steps :
17
22
- uses : actions/checkout@v4
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ concurrency:
15
15
16
16
jobs :
17
17
Build-and-Deploy-docs :
18
- if : ${{ github.event. repository.name == 'e3sm ' }}
18
+ if : ${{ github.repository == 'E3SM-Project/E3SM ' }}
19
19
runs-on : ubuntu-latest
20
20
steps :
21
21
- uses : actions/checkout@v4
Original file line number Diff line number Diff line change 11
11
- cron : ' 00 15 * * 2'
12
12
workflow_dispatch :
13
13
14
+ concurrency :
15
+ group : ${{ github.workflow }}-${{ github.event_name }}-${{ github.event.pull_request.number || github.run_id }}
16
+ cancel-in-progress : true
17
+
14
18
jobs :
15
19
mkatmsrffile-test :
20
+ if : ${{ github.repository == 'E3SM-Project/E3SM' }}
16
21
runs-on : ubuntu-latest
17
22
defaults :
18
23
run :
@@ -31,18 +36,15 @@ jobs:
31
36
uses : conda-incubator/setup-miniconda@v3
32
37
with :
33
38
activate-environment : " envmkatmsrffile"
34
- miniforge-variant : Mambaforge
35
39
miniforge-version : latest
36
- use-mamba : true
37
- mamba-version : " *"
38
40
channel-priority : strict
39
41
auto-update-conda : true
40
42
python-version : 3.11
41
43
-
42
44
name : Install dependencies
43
45
run : |
44
46
echo $CONDA_PREFIX
45
- mamba install -y nco xarray numba numpy netcdf4
47
+ conda install -y nco xarray numba numpy netcdf4 -c conda-forge
46
48
-
47
49
name : Run tests
48
50
working-directory : components/eam/tools/mkatmsrffile
Original file line number Diff line number Diff line change 15
15
16
16
workflow_dispatch :
17
17
18
+ concurrency :
19
+ group : ${{ github.workflow }}-${{ github.event_name }}-${{ github.event.pull_request.number || github.run_id }}
20
+ cancel-in-progress : true
21
+
18
22
jobs :
19
23
20
24
ci :
25
+ if : ${{ github.repository == 'E3SM-Project/E3SM' }}
21
26
runs-on : ubuntu-latest
22
27
strategy :
23
28
fail-fast : false
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ concurrency:
34
34
jobs :
35
35
36
36
eamxx-docs :
37
- if : ${{ github.event. repository.name == 'scream' }}
37
+ if : ${{ github.repository == 'E3SM-Project/ scream' }}
38
38
runs-on : ubuntu-latest
39
39
40
40
steps :
Original file line number Diff line number Diff line change 11
11
- cron : ' 00 00 * * *'
12
12
workflow_dispatch :
13
13
14
+ concurrency :
15
+ group : ${{ github.workflow }}-${{ github.event_name }}-${{ github.event.pull_request.number || github.run_id }}
16
+ cancel-in-progress : true
17
+
14
18
jobs :
15
19
scream-defaults :
16
- if : ${{ github.event. repository.name == 'e3sm ' }}
20
+ if : ${{ github.repository == 'E3SM-Project/E3SM ' }}
17
21
runs-on : ubuntu-latest
18
22
outputs :
19
23
event_name : ${{ github.event_name }}
You can’t perform that action at this time.
0 commit comments