From 4b0e75868d0011a23b376127d1653af828b237f3 Mon Sep 17 00:00:00 2001 From: FloatingGhost Date: Thu, 3 Aug 2023 00:16:21 +0100 Subject: [PATCH] cricle --- .circleci/config.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 000000000..4f0a7a178 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,27 @@ +version: 2.1 + +jobs: + build: + docker: + - image: cimg/elixir:1.15.4 + environment: + MIX_ENV: test + steps: + - checkout + - run: mix --version + - run: mix deps.get + test: + docker: + - image: cimg/elixir:1.15.4 + environment: + MIX_ENV: test + POSTGRES_USER: postgres + POSTGRES_DB: pleroma_test + POSTGRES_PASSWORD: postgres + - image: cimg/postgres:15.3.0 + environment: + POSTGRES_USER: postgres + POSTGRES_DB: pleroma_test + POSTGRES_PASSWORD: postgres + steps: + - run: mix test