File tree Expand file tree Collapse file tree 1 file changed +1
-47
lines changed
Expand file tree Collapse file tree 1 file changed +1
-47
lines changed Original file line number Diff line number Diff line change @@ -15,56 +15,10 @@ permissions:
1515 contents : write
1616
1717jobs :
18- # Backend tests (Go) - must pass before building
19- test-backend :
20- name : Backend Tests
21- runs-on : ubuntu-latest
22- steps :
23- - uses : actions/checkout@v4
24-
25- - name : Set up Go
26- uses : actions/setup-go@v5
27- with :
28- go-version : ' 1.21'
29-
30- - name : Create dummy frontend directory
31- run : mkdir -p frontend/dist && echo "Test build" > frontend/dist/README.txt
32-
33- - name : Build
34- run : go build -v ./cmd/... ./internal/... ./pkg/...
35-
36- - name : Test
37- run : go test -v ./cmd/... ./internal/... ./pkg/...
38-
39- # Frontend tests (React + TypeScript) - must pass before building
40- test-frontend :
41- name : Frontend Tests
42- runs-on : ubuntu-latest
43- defaults :
44- run :
45- working-directory : ./frontend
46- steps :
47- - uses : actions/checkout@v4
48-
49- - name : Setup Node.js
50- uses : actions/setup-node@v4
51- with :
52- node-version : ' 18'
53-
54- - name : Install dependencies
55- run : npm install
56-
57- - name : Run TypeScript check
58- run : npx tsc --noEmit
59-
60- - name : Run tests
61- run : npm run test:run
62-
63- # Build macOS App - only after all tests pass
18+ # Build macOS App - tests already run locally via pre-push hook
6419 build-macos :
6520 name : Build macOS App
6621 runs-on : macos-latest
67- needs : [test-backend, test-frontend] # Wait for tests to pass
6822 steps :
6923 - name : Checkout
7024 uses : actions/checkout@v4
You can’t perform that action at this time.
0 commit comments