Skip to content

Commit e37a7ba

Browse files
Add comprehensive test suite with GitHub Actions workflow
- Add 21 tests for WorkflowRegistry covering loading, parsing, filtering - Add 9 tests for install-workflow utility - Create test fixtures with sample workflow files - Add GitHub Actions workflow for CI testing - Make WorkflowRegistry testable with configurable root path - Add graceful error handling for missing directories
1 parent a1ba000 commit e37a7ba

9 files changed

Lines changed: 605 additions & 31 deletions

File tree

.github/workflows/test.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Tests
2+
3+
on:
4+
push:
5+
branches: [main, master, testing]
6+
pull_request:
7+
branches: [main, master, testing]
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout code
15+
uses: actions/checkout@v4
16+
17+
- name: Setup Bun
18+
uses: oven-sh/setup-bun@v1
19+
with:
20+
bun-version: latest
21+
22+
- name: Install dependencies
23+
run: bun install
24+
25+
- name: Run tests
26+
run: bun test
27+
28+
- name: Build project
29+
run: bun run build

bun.lock

Lines changed: 26 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)