Skip to content

Commit 09bfcef

Browse files
committed
[CI] Use Python 3.12, add logging to debug DB issue
1 parent 0143b83 commit 09bfcef

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,17 +156,19 @@ 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"
164+
datacube --version
165+
datacube system check
163166
datacube system init
164167
pip list --format=freeze
165168
166169
env:
167170
ODC_DATACUBE_DB_URL: postgresql://postgres:postgres@localhost/datacube
168171

169-
170172
- name: Run Tests
171173
shell: bash
172174
run: |
@@ -315,7 +317,7 @@ jobs:
315317
if: steps.cfg.outputs.publish == 'yes'
316318
uses: actions/setup-python@v5
317319
with:
318-
python-version: '3.10'
320+
python-version: "3.12"
319321

320322
- name: Install Twine
321323
if: steps.cfg.outputs.publish == 'yes'

tests/test-env.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ channels:
77
- conda-forge
88

99
dependencies:
10-
- python=3.10
10+
- python=3.12
1111

1212
# Datacube
1313
# - datacube[postgres]>=1.9.0

0 commit comments

Comments
 (0)