Skip to content

Commit

Permalink
Try without services for now
Browse files Browse the repository at this point in the history
  • Loading branch information
rickychilcott committed Jul 18, 2024
1 parent f513e44 commit d70dcd2
Showing 1 changed file with 28 additions and 31 deletions.
59 changes: 28 additions & 31 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,38 +6,35 @@ jobs:
test:
runs-on: ubuntu-latest

services:
ping:
image: ping:latest

postgres:
image: postgres
ports:
- 5432:5432
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
env:
POSTGRES_DB: thredded_gem_test
POSTGRES_USER: thredded
POSTGRES_PASSWORD: thredded
# services:
# postgres:
# image: postgres
# ports:
# - 5432:5432
# options: >-
# --health-cmd pg_isready
# --health-interval 10s
# --health-timeout 5s
# --health-retries 5
# env:
# POSTGRES_DB: thredded_gem_test
# POSTGRES_USER: thredded
# POSTGRES_PASSWORD: thredded

mysql:
image: mysql
ports:
- 3306:3306
options: >-
--health-cmd mysqladmin ping
--health-interval 10s
--health-timeout 5s
--health-retries 3
env:
MYSQL_DATABASE: thredded_gem_test
MYSQL_USER: thredded
MYSQL_PASSWORD: thredded
MYSQL_ROOT_PASSWORD: thredded
# mysql:
# image: mysql
# ports:
# - 3306:3306
# options: >-
# --health-cmd mysqladmin ping
# --health-interval 10s
# --health-timeout 5s
# --health-retries 3
# env:
# MYSQL_DATABASE: thredded_gem_test
# MYSQL_USER: thredded
# MYSQL_PASSWORD: thredded
# MYSQL_ROOT_PASSWORD: thredded

strategy:
fail-fast: false
Expand Down

0 comments on commit d70dcd2

Please sign in to comment.