Skip to content

Commit 5d570af

Browse files
committed
Add postgres env to es tests
1 parent 21bf512 commit 5d570af

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/build.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,8 +242,10 @@ jobs:
242242
exit 1
243243
244244
- name: Elasticsearch tests
245-
if: matrix.elasticsearch
245+
if: matrix.elasticsearch && matrix.database
246246
env:
247+
SQLX_OFFLINE: false
248+
DATABASE_URL: postgres://root:root@127.0.0.1:5432/kamu-test
247249
ELASTICSEARCH_URL: http://127.0.0.1:9200
248250
run: |
249251
# Show actual disk headroom ES sees

0 commit comments

Comments
 (0)