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: ...@@ -135,14 +135,18 @@ jobs:
- run: - run:
name: Cannon Go tests name: Cannon Go tests
command: | command: |
gotestsum --format=standard-verbose --junitfile=/tmp/test-results/cannon.xml \ mkdir -p /testlogs
-- -parallel=2 -coverpkg=github.com/ethereum-optimism/optimism/cannon/... -coverprofile=coverage.out ./... 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 working_directory: cannon
- run: - run:
name: upload Cannon coverage name: upload Cannon coverage
command: codecov --verbose --clean --flags cannon-go-tests command: codecov --verbose --clean --flags cannon-go-tests
- store_test_results: - store_test_results:
path: /tmp/test-results path: /tmp/test-results
- store_artifacts:
path: /testlogs
when: on_fail
cannon-build-test-vectors: cannon-build-test-vectors:
docker: docker:
- image: <<pipeline.parameters.ci_builder_image>> - 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