85
85
- run : uv tool run --from apache-airflow-breeze pytest -n auto --color=yes
86
86
working-directory : ./dev/breeze/
87
87
tests-ui :
88
- timeout-minutes : 10
88
+ timeout-minutes : 15
89
89
name : React UI tests
90
90
runs-on : ${{ fromJSON(inputs.runs-on-as-json-public) }}
91
91
if : inputs.run-ui-tests == 'true'
@@ -115,7 +115,7 @@ jobs:
115
115
with :
116
116
path : airflow/ui/node_modules/
117
117
key : cache-ui-node-modules-v1-${{ runner.os }}-${{ hashFiles('airflow/ui/**/pnpm-lock.yaml') }}
118
- id : restore-eslint-cache
118
+ id : restore-eslint-cache-ui
119
119
- run : cd airflow/ui && pnpm install --frozen-lockfile
120
120
- run : cd airflow/ui && pnpm test
121
121
env :
@@ -127,7 +127,29 @@ jobs:
127
127
key : cache-ui-node-modules-v1-${{ runner.os }}-${{ hashFiles('airflow/ui/**/pnpm-lock.yaml') }}
128
128
if-no-files-found : ' error'
129
129
retention-days : ' 2'
130
- if : steps.restore-eslint-cache.outputs.stash-hit != 'true'
130
+ if : steps.restore-eslint-cache-ui.outputs.stash-hit != 'true'
131
+ - name : " Restore eslint cache (simple auth manager UI)"
132
+ uses : apache/infrastructure-actions/stash/restore@1c35b5ccf8fba5d4c3fdf25a045ca91aa0cbc468
133
+ with :
134
+ path : airflow/auth/managers/simple/ui/node_modules/
135
+ key : >
136
+ cache-simple-am-ui-node-modules-v1-
137
+ ${{ runner.os }}-${{ hashFiles('airflow/auth/managers/simple/ui/**/pnpm-lock.yaml') }}
138
+ id : restore-eslint-cache-simple-am-ui
139
+ - run : cd airflow/auth/managers/simple/ui && pnpm install --frozen-lockfile
140
+ - run : cd airflow/auth/managers/simple/ui && pnpm test
141
+ env :
142
+ FORCE_COLOR : 2
143
+ - name : " Save eslint cache (ui)"
144
+ uses : apache/infrastructure-actions/stash/save@1c35b5ccf8fba5d4c3fdf25a045ca91aa0cbc468
145
+ with :
146
+ path : airflow/auth/managers/simple/ui/node_modules/
147
+ key : >
148
+ cache-simple-am-ui-node-modules-v1-
149
+ ${{ runner.os }}-${{ hashFiles('airflow/auth/managers/simple/ui/**/pnpm-lock.yaml') }}
150
+ if-no-files-found : ' error'
151
+ retention-days : ' 2'
152
+ if : steps.restore-eslint-cache-simple-am-ui.outputs.stash-hit != 'true'
131
153
132
154
tests-www :
133
155
timeout-minutes : 10
0 commit comments