lib/generators/cdtb/templates/validate_migrations.yml in decidim-cdtb-0.1.8 vs lib/generators/cdtb/templates/validate_migrations.yml in decidim-cdtb-0.2.1
- old
+ new
@@ -15,10 +15,25 @@
RUBY_VERSION: 3.1.3
jobs:
test:
runs-on: ubuntu-latest
+ services:
+ postgres:
+ image: postgres:11
+ ports: ["5432:5432"]
+ options: >-
+ --health-cmd pg_isready
+ --health-interval 10s
+ --health-timeout 5s
+ --health-retries 5
+ env:
+ POSTGRES_PASSWORD: postgres
env:
+ DB_DATABASE: app
+ DB_USERNAME: postgres
+ DB_PASSWORD: postgres
+ DB_HOST: localhost
SECRET_KEY_BASE: "secret_key_base"
steps:
- uses: actions/checkout@v2.0.0
with: