Commit 7a376284 authored by Joshua Gutow's avatar Joshua Gutow Committed by GitHub

Store cannon-go-lint-and-test logs on failure (#10055)

* Store cannon-go-lint-and-test logs on failure

Needed to debug why this test is failing

* Update config.yml

* Update config.yml

* Try without coverage

* Update config.yml

* Update config.yml

* Update .circleci/config.yml
parent 383e506c
......@@ -135,14 +135,18 @@ jobs:
- run:
name: Cannon Go tests
command: |
gotestsum --format=standard-verbose --junitfile=/tmp/test-results/cannon.xml \
-- -parallel=2 -coverpkg=github.com/ethereum-optimism/optimism/cannon/... -coverprofile=coverage.out ./...
mkdir -p /testlogs
gotestsum --format=standard-quiet --junitfile=/tmp/test-results/cannon.xml \
-- -parallel=2 -coverpkg=github.com/ethereum-optimism/optimism/cannon/... -coverprofile=coverage.out ./... 2>&1 | tee /testlogs/test.log
working_directory: cannon
- run:
name: upload Cannon coverage
command: codecov --verbose --clean --flags cannon-go-tests
- store_test_results:
path: /tmp/test-results
- store_artifacts:
path: /testlogs
when: on_fail
cannon-build-test-vectors:
docker:
- image: <<pipeline.parameters.ci_builder_image>>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment