Skip to content

Commit 7b50d87

Browse files
authored
Merge pull request #458 from web3dev1337/ci/actions-tests-2026-01-30
2 parents 610fb44 + c832919 commit 7b50d87

2 files changed

Lines changed: 36 additions & 8 deletions

File tree

.github/workflows/tests.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: tests
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- main
8+
9+
jobs:
10+
unit:
11+
runs-on: ubuntu-latest
12+
timeout-minutes: 15
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v4
16+
17+
- name: Setup Node
18+
uses: actions/setup-node@v4
19+
with:
20+
node-version: "20"
21+
cache: "npm"
22+
23+
- name: Install
24+
run: npm ci
25+
26+
- name: Unit tests
27+
run: npm run test:unit
28+

GAP_ANALYSIS_2026-01-17.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -267,20 +267,20 @@ Week 10: Phase 4 + Final polish
267267
## Quick Wins (Can Do Today)
268268

269269
1. [ ] **Revoke API key** (5 min) - CRITICAL
270-
2. [ ] **Add .env to .gitignore** (1 min)
271-
3. [ ] **Create .env.example** (5 min)
270+
2. [x] **Add .env to .gitignore** (1 min)
271+
3. [x] **Create .env.example** (5 min)
272272
4. [ ] **Fix `/home/ab` fallback** in gitHelper.js (5 min)
273273
5. [ ] **Fix `/tmp/` path** in index.js (5 min)
274-
6. [ ] **Create CI workflow file** (30 min)
274+
6. [x] **Create CI workflow file** (30 min)
275275

276276
---
277277

278278
## Files to Modify
279279

280280
### Security Fixes
281-
- [ ] `.env` - Remove from repo
282-
- [ ] `.gitignore` - Add `.env`
283-
- [ ] `.env.example` - Create with placeholders
281+
- [x] `.env` - Remove from repo
282+
- [x] `.gitignore` - Add `.env`
283+
- [x] `.env.example` - Create with placeholders
284284

285285
### Hardcoded Paths
286286
- [ ] `server/workspaceManager.js` - Lines 464, 488
@@ -301,7 +301,7 @@ Week 10: Phase 4 + Final polish
301301
- [ ] `tests/unit/agentManager.test.js`
302302
- [ ] `tests/integration/socketio-events.test.js`
303303
- [ ] `tests/integration/api-endpoints.test.js`
304-
- [ ] `.github/workflows/test.yml`
304+
- [x] `.github/workflows/tests.yml`
305305

306306
---
307307

@@ -310,7 +310,7 @@ Week 10: Phase 4 + Final polish
310310
### MVP (Deployable)
311311
- [ ] No exposed secrets
312312
- [ ] No hardcoded user-specific paths
313-
- [ ] CI/CD running tests on PRs
313+
- [x] CI/CD running tests on PRs
314314
- [ ] 60%+ test coverage on critical paths
315315
- [ ] Installation works on fresh machine
316316

0 commit comments

Comments
 (0)