diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000000..92d277d8ce --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,58 @@ +# CircleCI configuration for Multi-Agent Custom Automation Engine +# See: https://circleci.com/docs/reference/configuration-reference +version: 2.1 + +jobs: + test-backend: + docker: + - image: cimg/python:3.11 + resource_class: medium + steps: + - checkout + - restore_cache: + keys: + - backend-deps-v1-{{ checksum "src/backend/uv.lock" }} + - backend-deps-v1- + - run: + name: Install uv + command: pip install uv --quiet + - run: + name: Install dependencies + command: cd src/backend && uv sync --frozen --dev + - save_cache: + key: backend-deps-v1-{{ checksum "src/backend/uv.lock" }} + paths: + - ~/.cache/uv + - run: + name: Run backend tests + command: cd src/backend && uv run --with pytest pytest tests/ -v --tb=short + + test-frontend: + docker: + - image: cimg/node:22.19 + resource_class: medium + steps: + - checkout + - restore_cache: + keys: + - frontend-deps-v1-{{ checksum "src/App/package-lock.json" }} + - frontend-deps-v1- + - run: + name: Install dependencies + command: cd src/App && npm ci + - save_cache: + key: frontend-deps-v1-{{ checksum "src/App/package-lock.json" }} + paths: + - ~/.npm + - run: + name: TypeScript type check and build + command: cd src/App && npm run build + - run: + name: Run frontend tests + command: cd src/App && npm test -- --run --passWithNoTests + +workflows: + build-and-test: + jobs: + - test-backend + - test-frontend diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000000..a8f3f188f7 --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1 @@ +github: [dariandawnblixtleo-hue] diff --git a/.github/FUNDING.ymlb b/.github/FUNDING.ymlb new file mode 100644 index 0000000000..42bf91fd0a --- /dev/null +++ b/.github/FUNDING.ymlb @@ -0,0 +1,15 @@ +# These are supported funding model platforms + +github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] +patreon: # Replace with a single Patreon username +open_collective: # Replace with a single Open Collective username +ko_fi: # Replace with a single Ko-fi username +tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel +community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry +liberapay: # Replace with a single Liberapay username +issuehunt: # Replace with a single IssueHunt username +lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry +polar: # Replace with a single Polar username +buy_me_a_coffee: # Replace with a single Buy Me a Coffee username +thanks_dev: # Replace with a single thanks.dev username +custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']