Skip to content

Commit a2ab83d

Browse files
stackdumpclaude
andcommitted
Add poll test coverage and improve CI pipeline
18 new tests covering poll lifecycle: creation validation, voting (duplicate nullifier, missing fields, closed/expired polls), and sealed-results enforcement (tallies hidden while active, visible when closed). CI now runs go vet and tests with -race detector. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 6a600a5 commit a2ab83d

2 files changed

Lines changed: 434 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,18 @@ on:
77
branches: [main]
88

99
jobs:
10+
lint:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
15+
- uses: actions/setup-go@v5
16+
with:
17+
go-version: '1.24'
18+
19+
- name: Go vet
20+
run: go vet ./...
21+
1022
build:
1123
runs-on: ubuntu-latest
1224
steps:
@@ -28,8 +40,8 @@ jobs:
2840
with:
2941
go-version: '1.24'
3042

31-
- name: Go tests
32-
run: make test
43+
- name: Go tests (race detector)
44+
run: go test -race -count=1 ./...
3345

3446
js-parity:
3547
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)