Skip to content

Commit

Permalink
build: test ci
Browse files Browse the repository at this point in the history
  • Loading branch information
gbotrel committed Sep 14, 2024
1 parent 25ea167 commit cae235a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 25 deletions.
19 changes: 5 additions & 14 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,21 +71,12 @@ jobs:
- name: Run tests
run: |
set -euo pipefail
go test -json -v -p 4 -short -timeout=30m . 2>&1 | gotestfmt -hide=all | tee /tmp/gotest.log
# go test -json -v -p 4 -tags=release_checks,solccheck . 2>&1 | gotestfmt -hide=all | tee -a /tmp/gotest.log
# go test -json -v -p 4 -tags=prover_checks ./test/... 2>&1 | gotestfmt -hide=all | tee -a /tmp/gotest.log
# go test -json -v -p 4 -tags=prover_checks ./examples/... 2>&1 | gotestfmt -hide=all | tee -a /tmp/gotest.log
# go test -json -v -run=NONE -fuzz=FuzzIntcomp -fuzztime=30s ./internal/backend/ioutils 2>&1 | gotestfmt -hide=all | tee -a /tmp/gotest.log
go test -json -v -p 4 -short -timeout=30m ./... 2>&1 | gotestfmt -hide=all | tee /tmp/gotest.log
go test -json -v -p 4 -tags=release_checks,solccheck . 2>&1 | gotestfmt -hide=all | tee -a /tmp/gotest.log
go test -json -v -p 4 -tags=prover_checks ./test/... 2>&1 | gotestfmt -hide=all | tee -a /tmp/gotest.log
go test -json -v -p 4 -tags=prover_checks ./examples/... 2>&1 | gotestfmt -hide=all | tee -a /tmp/gotest.log
go test -json -v -run=NONE -fuzz=FuzzIntcomp -fuzztime=30s ./internal/backend/ioutils 2>&1 | gotestfmt -hide=all | tee -a /tmp/gotest.log
- name: Generate job summary
id: generate-job-summary
if: ${{ always() }}
run: |
if [ -s /tmp/gotest.log ]; then
cat /tmp/gotest.log > $GITHUB_STEP_SUMMARY
else
echo "## Success ✅" > $GITHUB_STEP_SUMMARY
fi
slack-notifications:
if: always()
Expand Down
9 changes: 0 additions & 9 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,15 +82,6 @@ jobs:
go test -v -p 4 -timeout=50m -tags=release_checks -short -race ./test/...
go test -v -run=NONE -fuzz=FuzzIntcomp -fuzztime=30s ./internal/backend/ioutils
- name: Generate job summary
id: generate-job-summary
if: ${{ always() }}
run: |
if [ -s /tmp/gotest.log ]; then
cat /tmp/gotest.log > $GITHUB_STEP_SUMMARY
else
echo "## Success ✅" > $GITHUB_STEP_SUMMARY
fi
slack-notifications:
if: always()
Expand Down
2 changes: 0 additions & 2 deletions debug_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ func (circuit *divBy0Trace) Define(api frontend.API) error {
}

func TestTraceDivBy0(t *testing.T) {
t.Fatal("testing CI")
if !debug.Debug {
t.Skip("skipping test in non debug mode")
}
Expand Down Expand Up @@ -124,7 +123,6 @@ func (circuit *notEqualTrace) Define(api frontend.API) error {
}

func TestTraceNotEqual(t *testing.T) {
t.Fatal("testing CI 2")
assert := require.New(t)

var circuit, witness notEqualTrace
Expand Down

0 comments on commit cae235a

Please sign in to comment.