Skip to content
Closed

update #4016

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 58 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -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
Comment on lines +38 to +52

workflows:
build-and-test:
jobs:
- test-backend
- test-frontend
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
github: [dariandawnblixtleo-hue]
15 changes: 15 additions & 0 deletions .github/FUNDING.ymlb
Original file line number Diff line number Diff line change
@@ -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']