Skip to content

Commit

Permalink
Try to make it work in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
hackartisan committed Feb 24, 2025
1 parent a4e85ee commit 780735f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ commands:
mix-test:
description: Runs all tests via mix
steps:
- run:
name: generate static files
command: MIX_ENV=test mix phx.digest
- run:
name: Run tests
command: MIX_ENV=test mix test
Expand Down
7 changes: 6 additions & 1 deletion config/test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,9 @@ config :dpul_collections, :figgy_hydrator, poll_interval: 50

config :dpul_collections, :web_connections, figgy_url: "https://figgy.example.com"

config :wallaby, otp_app: :dpul_collections
config :wallaby,
otp_app: :dpul_collections,
screenshot_on_failure: true,
chromedriver: [
headless: true # change to false if you want to see the browser in action
]

0 comments on commit 780735f

Please sign in to comment.