Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 21 additions & 1 deletion .github/workflows/test_and_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,21 @@ jobs:
--health-interval=10s
--health-timeout=5s
--health-retries=3

cockroachdb:
image: cockroachdb/cockroach:latest-v25.3
ports:
- 26257:26257
- 8080:8080
env:
COCKROACHDB_USER: gis
COCKROACHDB_PASSWORD: gis
COCKROACHDB_DATABASE: gis
# Set health checks to wait until CockroachDB has started
options: >-
--health-cmd="cockroach sql --user=gis --database=gis --execute='SELECT 1'"
--health-interval=10s
--health-timeout=5s
--health-retries=3

steps:

Expand Down Expand Up @@ -131,6 +145,12 @@ jobs:
mysql --user=gis --password=gis --host=127.0.0.1 -P 3308 -e "SELECT VERSION();"
mysql --user=root --password=gis --host=127.0.0.1 -P 3308 -e "GRANT ALL PRIVILEGES ON *.* TO 'gis'@'%' WITH GRANT OPTION;"

# Check CockroachDB
- name: Check CockroachDB
run: |
cockroach sql --user=gis --database=gis --execute='SELECT VERSION();'
cockroach sql --user=root --database=gis --execute='GRANT ALL PRIVILEGES ON *.* TO "gis"@"%" WITH GRANT OPTION;'

# Check python version
- name: Display Python version
run: |
Expand Down
Loading