Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Codecov integration #27

Open
wants to merge 2 commits into
base: coverage-test
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
114 changes: 50 additions & 64 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ commands:
default: snarkos-stable-cache
steps:
- run: set -e
- setup_remote_docker
- run:
name: Prepare environment and install dependencies
command: |
Expand Down Expand Up @@ -135,180 +134,160 @@ commands:

jobs:
integration:
docker:
- image: cimg/rust:1.74.1
resource_class: large
machine: true
resource_class: exbuhny4gnr1bjbjxfghd7/gcp-test
steps:
- run_serial_long:
workspace_member: .integration
cache_key: snarkos-integration-cache

snarkos:
docker:
- image: cimg/rust:1.74.1
resource_class: large
machine: true
resource_class: exbuhny4gnr1bjbjxfghd7/gcp-test
steps:
- run_serial:
workspace_member: .
cache_key: snarkos-stable-cache

account:
docker:
- image: cimg/rust:1.74.1
resource_class: large
machine: true
resource_class: exbuhny4gnr1bjbjxfghd7/gcp-test
steps:
- run_serial:
workspace_member: account
cache_key: snarkos-account-cache

cli:
docker:
- image: cimg/rust:1.74.1
resource_class: large
machine: true
resource_class: exbuhny4gnr1bjbjxfghd7/gcp-test
steps:
- run_serial:
workspace_member: cli
cache_key: snarkos-cli-cache

display:
docker:
- image: cimg/rust:1.74.1
resource_class: large
machine: true
resource_class: exbuhny4gnr1bjbjxfghd7/gcp-test
steps:
- run_serial:
workspace_member: display
cache_key: snarkos-display-cache

node:
docker:
- image: cimg/rust:1.74.1
resource_class: large
machine: true
resource_class: exbuhny4gnr1bjbjxfghd7/gcp-test
steps:
- run_serial:
workspace_member: node
cache_key: snarkos-node-cache

node-bft:
docker:
- image: cimg/rust:1.74.1
resource_class: large
machine: true
resource_class: exbuhny4gnr1bjbjxfghd7/gcp-test
steps:
- run_serial:
workspace_member: node/bft
cache_key: snarkos-node-bft-cache

node-bft-events:
docker:
- image: cimg/rust:1.74.1
resource_class: large
machine: true
resource_class: exbuhny4gnr1bjbjxfghd7/gcp-test
steps:
- run_serial:
workspace_member: node/bft/events
cache_key: snarkos-node-bft-events-cache

node-bft-ledger-service:
docker:
- image: cimg/rust:1.74.1
resource_class: large
machine: true
resource_class: exbuhny4gnr1bjbjxfghd7/gcp-test
steps:
- run_serial:
workspace_member: node/bft/ledger-service
cache_key: snarkos-node-bft-ledger-service-cache

node-bft-storage-service:
docker:
- image: cimg/rust:1.74.1
resource_class: large
machine: true
resource_class: exbuhny4gnr1bjbjxfghd7/gcp-test
steps:
- run_serial:
workspace_member: node/bft/storage-service
cache_key: snarkos-node-bft-storage-service-cache

node-cdn:
docker:
- image: cimg/rust:1.74.1
resource_class: large
machine: true
resource_class: exbuhny4gnr1bjbjxfghd7/gcp-test
steps:
- run_serial:
workspace_member: node/cdn
cache_key: snarkos-node-cdn-cache

node-consensus:
docker:
- image: cimg/rust:1.74.1
resource_class: large
machine: true
resource_class: exbuhny4gnr1bjbjxfghd7/gcp-test
steps:
- run_serial:
workspace_member: node/consensus
cache_key: snarkos-node-consensus-cache

node-rest:
docker:
- image: cimg/rust:1.74.1
resource_class: large
machine: true
resource_class: exbuhny4gnr1bjbjxfghd7/gcp-test
steps:
- run_serial:
workspace_member: node/rest
cache_key: snarkos-node-rest-cache

node-router:
docker:
- image: cimg/rust:1.74.1
resource_class: large
machine: true
resource_class: exbuhny4gnr1bjbjxfghd7/gcp-test
steps:
- run_serial:
workspace_member: node/router
cache_key: snarkos-node-router-cache

node-router-messages:
docker:
- image: cimg/rust:1.74.1
resource_class: large
machine: true
resource_class: exbuhny4gnr1bjbjxfghd7/gcp-test
steps:
- run_serial:
workspace_member: node/router/messages
cache_key: snarkos-node-router-messages-cache

node-sync:
docker:
- image: cimg/rust:1.74.1
resource_class: large
machine: true
resource_class: exbuhny4gnr1bjbjxfghd7/gcp-test
steps:
- run_serial:
workspace_member: node/sync
cache_key: snarkos-node-sync-cache

node-sync-communication-service:
docker:
- image: cimg/rust:1.74.1
resource_class: large
machine: true
resource_class: exbuhny4gnr1bjbjxfghd7/gcp-test
steps:
- run_serial:
workspace_member: node/sync/communication-service
cache_key: snarkos-node-sync-communication-service-cache

node-sync-locators:
docker:
- image: cimg/rust:1.74.1
resource_class: large
machine: true
resource_class: exbuhny4gnr1bjbjxfghd7/gcp-test
steps:
- run_serial:
workspace_member: node/sync/locators
cache_key: snarkos-node-sync-locators-cache

node-tcp:
docker:
- image: cimg/rust:1.74.1
resource_class: large
machine: true
resource_class: exbuhny4gnr1bjbjxfghd7/gcp-test
steps:
- run_serial:
workspace_member: node/tcp
cache_key: snarkos-node-tcp-cache

check-fmt:
docker:
- image: cimg/rust:1.74.1
resource_class: large
machine: true
resource_class: exbuhny4gnr1bjbjxfghd7/gcp-test
steps:
- checkout
- install_rust_nightly
Expand All @@ -322,9 +301,8 @@ jobs:
cache_key: snarkos-fmt-cache

check-clippy:
docker:
- image: cimg/rust:1.74.1
resource_class: large
machine: true
resource_class: exbuhny4gnr1bjbjxfghd7/gcp-test
steps:
- checkout
- setup_environment:
Expand All @@ -338,12 +316,20 @@ jobs:
- clear_environment:
cache_key: snarkos-clippy-cache

test-runner:
machine: true
resource_class: exbuhny4gnr1bjbjxfghd7/gcp-test
steps:
- run: echo "Hi I'm on a Container Runner!"

workflows:
version: 2

main-workflow:
jobs:
- test-runner
- cli
- account
- node-bft-events
- node-tcp
- check-fmt
Expand Down