From 3ecdc25cc8026857f449291b1aeff1d46026e59c Mon Sep 17 00:00:00 2001 From: Anna Headley <845363+hackartisan@users.noreply.github.com> Date: Mon, 24 Feb 2025 12:59:21 -0500 Subject: [PATCH] this --- .circleci/config.yml | 5 +---- mix.exs | 6 ++++++ 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 6eeee7cd..d4c73435 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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: diff --git a/mix.exs b/mix.exs index 08fe8ecc..b5213443 100644 --- a/mix.exs +++ b/mix.exs @@ -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": [