Skip to content

Commit

Permalink
ci,test: hunt for very greedy tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gbotrel committed Nov 17, 2023
1 parent 02dbe91 commit e876646
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,10 @@ jobs:
- name: Test (ubuntu - race and solc)
if: startsWith(matrix.os, 'ubuntu') == true
run: |
go test -v -p 4 -timeout=60m -tags=release_checks ./...
go test -v -p 4 -race -tags=release_checks,solccheck .
go test -v -p 4 -timeout=60m -race -short ./...
go test -v -p 4 -timeout=120m -tags=release_checks ./...
go test -v -p 4 -tags=release_checks,solccheck .
go test -v -p 4 -timeout=50m -tags=release_checks -race ./examples/cubic/...
go test -v -p 4 -timeout=50m -tags=release_checks -short -race ./test/...
slack-workflow-status-failed:
Expand Down
3 changes: 3 additions & 0 deletions std/algebra/emulated/sw_bls12381/pairing_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,9 @@ func (c *MultiPairCircuit) Define(api frontend.API) error {
}

func TestMultiPairTestSolve(t *testing.T) {
if testing.Short() {
t.Skip("skipping test in short mode.")
}
assert := test.NewAssert(t)
p1, q1 := randomG1G2Affines()
p2, q2 := randomG1G2Affines()
Expand Down
3 changes: 3 additions & 0 deletions std/algebra/emulated/sw_bw6761/pairing_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,9 @@ func (c *MultiPairCircuit) Define(api frontend.API) error {
}

func TestMultiPairTestSolve(t *testing.T) {
if testing.Short() {
t.Skip("skipping test in short mode.")
}
assert := test.NewAssert(t)
p1, q1 := randomG1G2Affines()
p := make([]bw6761.G1Affine, 3)
Expand Down

0 comments on commit e876646

Please sign in to comment.