Skip to content

Commit

Permalink
this
Browse files Browse the repository at this point in the history
  • Loading branch information
hackartisan committed Feb 24, 2025
1 parent a753afd commit 3ecdc25
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
5 changes: 1 addition & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,9 @@ commands:
mix-test:
description: Runs all tests via mix
steps:
- run:
name: Build assets
command: MIX_ENV=test mix assets.setup
- run:
name: Run tests
command: MIX_ENV=test mix test
command: MIX_ENV=test mix test-ci

jobs:
check-formatting:
Expand Down
6 changes: 6 additions & 0 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,12 @@ defmodule DpulCollections.MixProject do
"ecto.migrate --quiet",
"coveralls.html"
],
"test-ci": [
"esbuild dpul_collections",
"ecto.create --quiet",
"ecto.migrate --quiet",
"coveralls.html"
],
"assets.setup": ["tailwind.install --if-missing", "esbuild.install --if-missing"],
"assets.build": ["tailwind dpul_collections", "esbuild dpul_collections"],
"assets.deploy": [
Expand Down

0 comments on commit 3ecdc25

Please sign in to comment.