Skip to content

Commit 5c86632

Browse files
committed
[CI] Use correct ENV var to configure ODC
1 parent c486419 commit 5c86632

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -156,18 +156,17 @@ jobs:
156156
which datacube
157157
158158
./scripts/dev-install.sh --no-deps
159+
159160
- name: Setup Test DB
160161
shell: bash
161162
run: |
162163
echo "Launching test db"
163164
datacube --version
164-
datacube system check
165165
datacube system init
166166
pip list --format=freeze
167167
168168
env:
169-
ODC_DATACUBE_DB_URL: postgresql://postgres:postgres@localhost/datacube
170-
169+
ODC_DEFAULT_DB_URL: postgresql://postgres:postgres@localhost/datacube
171170

172171
- name: Run Tests
173172
shell: bash
@@ -184,7 +183,7 @@ jobs:
184183
env:
185184
AWS_DEFAULT_REGION: us-west-2
186185
DASK_TEMPORARY_DIRECTORY: /tmp/dask
187-
ODC_DATACUBE_DB_URL: postgresql://postgres:postgres@localhost/datacube
186+
ODC_DEFAULT_DB_URL: postgresql://postgres:postgres@localhost/datacube
188187

189188
- name: Upload Coverage
190189
if: |
@@ -260,7 +259,7 @@ jobs:
260259
datacube system init
261260
262261
env:
263-
ODC_DATACUBE_DB_URL: postgresql://postgres:postgres@localhost/datacube
262+
ODC_DEFAULT_DB_URL: postgresql://postgres:postgres@localhost/datacube
264263

265264
- name: Run Tests
266265
shell: bash
@@ -274,7 +273,7 @@ jobs:
274273
env:
275274
AWS_DEFAULT_REGION: us-west-2
276275
DASK_TEMPORARY_DIRECTORY: /tmp/dask
277-
ODC_DATACUBE_DB_URL: postgresql://postgres:postgres@localhost/datacube
276+
ODC_DEFAULT_DB_URL: postgresql://postgres:postgres@localhost/datacube
278277

279278
publish-pypi:
280279
if: |

0 commit comments

Comments
 (0)