Compare commits
3 Commits
3b15318372
...
e33f700485
| Author | SHA1 | Date | |
|---|---|---|---|
| e33f700485 | |||
| cff6680f3a | |||
| 49b639e422 |
@@ -72,9 +72,11 @@ jobs:
|
||||
- name: Run tests
|
||||
run: mix test
|
||||
env:
|
||||
POSTGRES_HOSTNAME: db
|
||||
POSTGRES_PASSWORD: postgres
|
||||
|
||||
- name: Run precommit (should pass if all above passed)
|
||||
run: mix precommit
|
||||
env:
|
||||
POSTGRES_HOSTNAME: db
|
||||
POSTGRES_PASSWORD: postgres
|
||||
@@ -8,7 +8,7 @@ import Config
|
||||
config :components_elixir, ComponentsElixir.Repo,
|
||||
username: "postgres",
|
||||
password: System.get_env("POSTGRES_PASSWORD") || "fCnPB8VQdPkhJAD29hq6sZEY",
|
||||
hostname: "localhost",
|
||||
hostname: System.get_env("POSTGRES_HOSTNAME") || "localhost",
|
||||
database: "components_elixir_test#{System.get_env("MIX_TEST_PARTITION")}",
|
||||
pool: Ecto.Adapters.SQL.Sandbox,
|
||||
pool_size: System.schedulers_online() * 2
|
||||
|
||||
Reference in New Issue
Block a user