Skip to content

Commit 5df9d51

Browse files
Client Participation BETA
1 parent e66ed31 commit 5df9d51

File tree

208 files changed

+24644
-13592
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

208 files changed

+24644
-13592
lines changed
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
name: Client Participation Alpha CI
2+
3+
concurrency:
4+
group: client-participation-alpha-${{ github.ref }}
5+
cancel-in-progress: true
6+
7+
on:
8+
push:
9+
branches: [edge]
10+
paths:
11+
- "client-participation-alpha/**"
12+
pull_request:
13+
paths:
14+
- "client-participation-alpha/**"
15+
16+
jobs:
17+
verify:
18+
runs-on: ubuntu-latest
19+
20+
steps:
21+
- name: Checkout code
22+
uses: actions/checkout@v4
23+
24+
- name: Setup Node.js
25+
uses: actions/setup-node@v4
26+
with:
27+
node-version: "24"
28+
cache: "npm"
29+
cache-dependency-path: client-participation-alpha/package-lock.json
30+
31+
- name: Install dependencies
32+
run: npm ci
33+
working-directory: client-participation-alpha
34+
35+
- name: Check formatting
36+
run: npm run format -- --check
37+
working-directory: client-participation-alpha
38+
39+
- name: Run linter
40+
run: npm run lint
41+
working-directory: client-participation-alpha
42+
43+
- name: Run tests with coverage
44+
run: npm run test:coverage
45+
working-directory: client-participation-alpha
46+
47+
- name: Build
48+
run: npm run build
49+
working-directory: client-participation-alpha
50+
51+
- name: Upload coverage reports to Codecov
52+
uses: codecov/codecov-action@v4
53+
with:
54+
directory: client-participation-alpha/coverage
55+
flags: client-participation-alpha
56+
name: client-participation-alpha-coverage
57+
fail_ci_if_error: false

.github/workflows/cypress-tests.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,11 @@ jobs:
6666
6767
- name: Build Docker images
6868
run: |
69-
# Build all services defined in test compose file
69+
# Build postgres with --no-cache to ensure latest migrations are used
70+
# Docker layer caching can cause old migration files to persist
71+
docker compose -f docker-compose.test.yml --env-file test.env build --no-cache postgres
72+
73+
# Build remaining services (caching OK for these)
7074
docker compose -f docker-compose.test.yml --env-file test.env build
7175
7276
- name: Start services
@@ -93,6 +97,12 @@ jobs:
9397
echo "Checking server API..."
9498
curl -f http://localhost/api/v3/participationInit || true
9599
100+
- name: Show postgres initialization logs
101+
if: always()
102+
run: |
103+
echo "=== Postgres container logs (shows migration execution) ==="
104+
docker compose -f docker-compose.test.yml logs postgres | head -200
105+
96106
- name: Show service logs
97107
if: always()
98108
run: |

0 commit comments

Comments
 (0)