Skip to content

Commit dadae64

Browse files
committed
refactor(ci): remove frontend tests from CI - runs locally via pre-push hook
Frontend tests are now handled by: - Local pre-push hook (runs when pushing GUI tags) - Faster CI pipeline with only backend tests
1 parent c146b24 commit dadae64

File tree

1 file changed

+1
-63
lines changed

1 file changed

+1
-63
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88

99
jobs:
1010
# Backend tests (Go)
11+
# Frontend tests run locally via pre-push hook, not in CI
1112
backend:
1213
name: Backend Tests
1314
runs-on: ubuntu-latest
@@ -27,66 +28,3 @@ jobs:
2728

2829
- name: Test
2930
run: go test -v ./...
30-
31-
# Frontend tests (React + TypeScript)
32-
frontend:
33-
name: Frontend Tests
34-
runs-on: ubuntu-latest
35-
defaults:
36-
run:
37-
working-directory: ./frontend
38-
steps:
39-
- uses: actions/checkout@v4
40-
41-
- name: Setup Node.js
42-
uses: actions/setup-node@v4
43-
with:
44-
node-version: '18'
45-
46-
- name: Install dependencies
47-
run: npm install
48-
49-
- name: Run TypeScript check
50-
run: npx tsc --noEmit
51-
52-
- name: Run tests
53-
run: npm run test:run
54-
55-
- name: Generate coverage report
56-
run: npm run test:coverage
57-
58-
- name: Upload coverage to Codecov
59-
uses: codecov/codecov-action@v4
60-
with:
61-
directory: ./frontend/coverage
62-
flags: frontend
63-
token: ${{ secrets.CODECOV_TOKEN }}
64-
fail_ci_if_error: false
65-
66-
- name: Upload coverage artifacts
67-
uses: actions/upload-artifact@v4
68-
with:
69-
name: coverage-report
70-
path: ./frontend/coverage
71-
retention-days: 7
72-
73-
# Linting - Temporarily disabled due to TUI package linting issues
74-
# TODO: Re-enable after fixing TUI linting or removing TUI package
75-
# lint:
76-
# name: Go Lint
77-
# runs-on: ubuntu-latest
78-
# steps:
79-
# - uses: actions/checkout@v4
80-
81-
# - name: Set up Go
82-
# uses: actions/setup-go@v5
83-
# with:
84-
# go-version: '1.24'
85-
86-
# - name: Create dummy frontend directory
87-
# run: mkdir -p frontend/dist && echo "CLI build - frontend not included" > frontend/dist/README.txt
88-
89-
# - name: golangci-lint
90-
# uses: golangci/golangci-lint-action@v3
91-
# with:
92-
# version: latest

0 commit comments

Comments
 (0)